webmanz Posted March 24, 2018 Report Share Posted March 24, 2018 (edited) re chapter 3 lesson Javascript Errors From this: console.log("Something happened: " + message); } to this console.log("Something happened: + message); } Using Sublime the only thing that changed color for me when I removed quotes as per the video was + message, it changed color and there was a horizontal pink box stretching left to right on same code line just after + message had changed color. Unlike the video lesson the rest of my code didn't change color when I removed the quotes - they remained the same colors. Perhaps it's its something to do with my settings? Stef did mention you can adjust color error code within Sublime. Edited March 24, 2018 by webmanz Quote Link to comment Share on other sites More sharing options...
administrator Posted March 30, 2018 Report Share Posted March 30, 2018 This is just a Sublime setting I am guessing. Hard for me to tell without seeing it. That said, the key is to have the quotes in proper place. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.