Append to Body


#1

This code not working for me. Can someone help me please?

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

#2

you have a . after append you need to remove it


#3

It works, thank you so much


#4