Maybe it copied over wrong, but you need spaces between “function” and “addTodo” and “handleSubmit” when declaring them as functions. Also, you’ve got setTodoArray and todoArray swapped when creating them. Not sure if that will fix your issues as I’m not at my pc to actually try the code.