Issue with simple-todos tutorial form?


I’m up to the form input part of the tutorial, but this isn’t working… it neither adds to the collection nor does prevent the default form submit. Weird.{
"submit .new-task": function(event){
  var text =;
    text: text,
    createdAt: new Date()
  return false;


and html:

<form class="new-task">
<input type="text" name="text" placeholder="Type to add new tasks" />

Thanks for any help.


Solved. Typo. Always after I post do I find typos. :^/