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!

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 trial

JavaScript JavaScript Basics (Retired) Introducing JavaScript The JavaScript Console

Windows 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!

Steven Parker
Steven Parker
228,119 Points

Are you sure you're doing something that would cause an error?

Am 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

The 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.


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?

I 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?