I’m trying to complete the ‘Lesson Review’ for ‘The State Hook’.
Link: https://www.codecademy.com/courses/react-101/lessons/the-state-hook/exercises/lesson-review
But I keep getting the following error message:
“Oops! The test returned an error. Maybe you have a syntax error, or a typo. See full error.”
The “full error” isn’t any more useful/helpful than the original error message. And checking the JavaScript console doesn’t display any useful information, either.
UPDATE - I ended up creating a React project, so I could get a better idea of what’s going on with the code. So after making some changes, the app does render, but I get an error page when I try to enter the name of a new task.
And when I click the ‘Run’ button on the Web page for the current lesson, I get the following error message:
"Manage the state of the title and description for a new task in your component. "
Not sure what that means exactly, I thought I just had to manage state for the ‘newTask’ object and the ‘allTasks’ array.