LearnTeachCode / pair-partners

A web app that helps people find study partners for virtual pair programming and collaboration
http://learnteachcode.org/pair-partners/
38 stars 16 forks source link

Gh login rt #60

Closed r7uaz0n closed 7 years ago

r7uaz0n commented 7 years ago

Hi Liz, Here's what I have so far and what is getting the error I mentioned on Slack. Thanks.

LearningNerd commented 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.

r7uaz0n commented 7 years ago

@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. :(

r7uaz0n commented 7 years ago

debugger; doesn't seem to work as the error in console still persists and doesn't go through the debugging process.