Where is a bug?


#1

Where is a bug?
Oops, try again. Did you use '.item' as the second input for .on() ?

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

'+ toAdd +'
');
$(document).on('click',".item", function(){
$(this).remove();
});
});
});

13/14 i dont know where to put the .on() string
#2

That line should define the ready() handler:

$(document).ready(function(){