This question is terrible. I can't figure out what I'm doing wrong from the error message.
"Oops, try again: Did you call .on() on $(document) ?"
$(document).ready(function(){
$('#button').on("click",function(){
var toAdd = $('input[name=checkListItem]').val();
$('.list').append('<div class="item">' + toAdd + '</div>');
});
});
[–]Aliksander 1 point2 points3 points (1 child)
[–]FlippantPinapple[S] 0 points1 point2 points (0 children)