Most of the console logs are not giving the entire answer you need to remove code as well. The comments tell you where to change the code but the error is coming up on line 15.
That is not really how syntax errors work. It is also complaining about a missing semicolon, but that isn’t the issue. Most of the time, syntax errors have a cascading effect that makes the parser fail to parse something later in the code.
Being able to balance brackets and fixing this type of error is something you absolutely have to learn and know how to do.
If you put your cursor after an opening bracket, the editor will highlight/show you the matching closing bracket.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
Thank you! I didn’t realize there was an extra. It’s hard for me to see small errors like this but I’m slowly learning to fix them. Also depends on my ability to focus any given moment.