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.

Template.body.events({
"submit .new-task": function(event){
  
  var text = event.target.text.value;
  
  Tasks.insert({
    text: text,
    createdAt: new Date()
  });
  
  event.target.text.value="";
  
  return false;
}

});

and html:

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

Thanks for any help.

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