Closed r7uaz0n closed 7 years ago
Looks like you have some unclosed brackets around your new event listeners -- be extra careful when copy-pasting code from the instructions into your own code! Like I mentioned in Slack, a good debugging tool is http://jshint.com/ and it even has a plugin for Sublime Text and other text editors.
You can also use the debugger tool built right into your web browser :) Like in Chrome, if you just type debugger
on its own line somewhere in your code, it will open the debugger once it gets to that line when you test your app in the browser and you can see what's going on.
@LearningNerd I did run my JS code in jshint.com and see that I’m getting a
Unmatched ‘{’.
warning message but still unable to figure it out. I have gone through the steps again and copy-pasted the code. Getting the same error as previous. Am I missing a }
somewhere? Should I have added a }
somewhere during the copy-paste steps? I've been stuck at this point for the last 24 hours. :(
debugger;
doesn't seem to work as the error in console still persists and doesn't go through the debugging process.
Hi Liz, Here's what I have so far and what is getting the error I mentioned on Slack. Thanks.