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 trial

JavaScript The Solution

Giulia Bluestein
Giulia Bluestein
1,588 Points

I think I did this write, but cannot view anything on the Console.

Hello there,

Some more help needed from this beautiful community! I was doing the JavaScript workshop, and I think I did it "kind of" right because my chrome doesn't make me see anything at all in the Console Log.

Any idea where it's wrong? https://w.trhou.se/c5hbzy3wmw

Thank you so much, everyone!

3 Answers

You are missing an end quote for your JavaScript in your html.

This:

 <script src="js/geometry.js></script>

should be this:

<script src="js/geometry.js"></script>
Adam Beer
Adam Beer
11,314 Points

Hah, I haven't seen. I'm just copy and paste in to my basic workspace and I can't saw the typo. Nice!

Elfar Oliver
Elfar Oliver
3,924 Points

I'm also responding way later but hoping it helps. In the workspace it's a link href but using the script src like you're suggesting fixed everything for me

Try entering "node js/geometry.js " in the workspace console. It should run the script.

Adam Beer
Adam Beer
11,314 Points

She doesn't use package.json file and server.js with the node/express library. So she can't use the node geometry.js keyword. This isn't a bug. I think you use the console with console.log() so you should check the chrome console with F12 button on your keyboard. If you want see your response on the screen, use the alert() dialog or the document.write() method.

Hope this help!

Workspaces already comes with it set up. Link below mentions it around 8 seconds ; )

https://teamtreehouse.com/library/hello-world

Adam Beer
Adam Beer
11,314 Points

Nice, I didn't know. But she is new in the JavaScript so I think she shouldn't use node or other backend thing.

Giulia Bluestein
Giulia Bluestein
1,588 Points

Adam, my issue is that my console doesn't show me anything. I know the difference between alert/document.write() but the console.log() command doesn't work on my google Chrome, doing anything not only this project.