12 Append to Body- works in preview


#1

Hiya folks, here is the link to where im stuck, The code i created works in the preview but wont let me continue.

It just gives the error "Oops, try again. Please follow the instructions on the Full Preview page to test your code."

https://www.codecademy.com/courses/web-beginner-en-v6phg/2/3?curriculum_id=50a3fad8c7a770b5fd0007a1#

Here is my code

$(document).ready(function () {
    $('#button').click(function () {
        var toAdd = $('input[name="checkListItem"]').val();
        $('.list').append('<div class="item">' + toAdd + '</div>');
    });
});

Please help


#2

ok so i logged out. and then it worked so we are all sorted. Thanks


#3

Click in the page, then click into the form control and type something, then Add. Do this a couple of times. Watch the footer for any instructions and consider that there may be a delay or some latency. Give a couple seconds before returning to editor.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.