12/14 - Append to Body


what is wrong with my code. i'm getting error like It looks like your toAdd variable doesn't have the right value.

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

12/14 - Append to Body not working


You haven't done this part of the instruction:

Go ahead and .append() a <div> with class="item" to the .list div of your HTML document,

Give it a go, if you get an error then paste in your code and we will help you


you need to collect the value so add .val(); after $('input[name]=checkListItem]')