Daniel McFarlin5,168 Points
I got 2 questions
First, can someone please tell me why this code isn't working? I have redone it 3 times now, still not changing of heading color to red when click on. :(
Also does anyone have issues with workspaces randomly indenting when you press enter to go to the next line? and I don't mean like one tap over it indents to like 3/4 across the page to the right...sooooo frustrating when it does that. Is there a setting somewhere in workspaces that I don't know about?
Please help! Thanks friends
Jennifer NordellTreehouse Staff
Hi there! You're doing great, but you have a typo which is preventing the code from working as a syntax error is occurring. You have typed
But you meant to type:
Note the spelling of "Listener". As for the indentation problem, I've run into this once or twice, but generally it's because I haven't properly closed something off in the line before so the editor believes it should do that. As an alternative, you could just type it up in a text editor and paste it in, if you like.
Hope this helps!
Clayton PerszykTreehouse Moderator 46,306 Points
With regards to your first question, you need to change
addEventListener. Just missing an 'e'.
As for your second question, I'm afraid I can't help; I don't really have any experience with workspaces. Sorry.