gave my input form an id so I can vaildate if it was empty or not (in my .js file)
addTodo method checks ifthe form is empty. if its empty it will not add anything to the list.