Confusing classes and appending


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/web-beginner-en-v6phg/2/3?curriculum_id=50a3fad8c7a770b5fd0007a1

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
this does not append .item to .class

$(document).ready(function(){
    $('#button').click(function(){
    var toAdd = $('input[name=checkListItem]').val();
    $('.item').append('.list');
    });
});

#2

you are currently appending to .item, you should append the .list

you should append a div and the value of the input field


#3

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