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 trialGiulia Bluestein
1,588 PointsI 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
KRIS NIKOLAISEN
54,971 PointsYou 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>
Elijah Quesada
Front End Web Development Techdegree Graduate 32,965 PointsTry entering "node js/geometry.js " in the workspace console. It should run the script.
Adam Beer
11,314 PointsShe 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!
Elijah Quesada
Front End Web Development Techdegree Graduate 32,965 PointsWorkspaces already comes with it set up. Link below mentions it around 8 seconds ; )
Adam Beer
11,314 PointsNice, 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
1,588 PointsAdam, 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.
Adam Beer
11,314 PointsAdam Beer
11,314 PointsHah, 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
3,924 PointsElfar Oliver
3,924 PointsI'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