Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAnn Le
Courses Plus Student 760 PointsWindows doesn't show the syntax error
I'm on the course that shows how to open the console , and will show errors in the syntax. However when I preview, and follow through with opening the console log, there shows no errors...
Thank you!
Ann Le
Courses Plus Student 760 PointsAm just following through the instructional video on opening the console on Windows. The error is already pre-written in Workspace. The purpose of this video is to show how to use the browser console to identify the problem.
Basically my screen doesn't match what the video shows even though I follow step by step :(
3 Answers
Janice Childers
18,958 PointsThe workspace includes the corrected scripts.js file, which is why you don't get an error. If you change "document.write" to "document.rite" and remove the first double quote inside the alert, it will produce the error.
Wade Love
1,203 Pointssame problem.
Haley Ward
Treehouse Project ReviewerAnn,
I just opened up the same course and opened up the workspace. If I go into the dev tools and open up the console - I get an error: missing ) after argument list. If you aren't getting any errors in your console, then I would suggest checking to see if there are any changes to your JavaScript in scripts.js.
Here is the original JavaScript: alert(hello there"); document.rite("No it works!");
Also, are you using Google Chrome like Dave is?
Lucas Leniek
1,028 PointsI have Windows and using Chrome and my console shows a error saying "favicon 8, located /favicon8.fvi.etc." but it doesn't show my Javascript file on my workspace when I saved it?
Steven Parker
231,261 PointsSteven Parker
231,261 PointsAre you sure you're doing something that would cause an error?