I'm Stuck, Can Someone Help Me?


#1



I'm stuck on this exercise: https://www.codecademy.com/courses/web-beginner-en-v6phg/2/3?curriculum_id=50a3fad8c7a770b5fd0007a1#


I think my code is correct, but the page won't let me click on #button.


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

Can someone help me out here?


#2

Have a look at this ^ you have toAddd instead of toAdd


#3

Thanks, that was really helpful.