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 JavaScript Basics (Retired) Introducing JavaScript The Console Challenge

Elizabeth Schultz
Elizabeth Schultz
1,989 Points

When I bring up the console it does not show any errors or print any messages.

While in the JavaScript class the Console is failing to show code errors and also failing to print messages meant to print to the console. I have re-launched the workspace several times to no avail. Ideas?

2 Answers

Antonio De Rose
Antonio De Rose
20,884 Points

please send the code that you have tried.

Nick Renteria
Nick Renteria
10,258 Points

My guess is that it's some problem with the way the script tag in the HTML is linked to the javascript file. But if you copy and paste your code between two sets of three backticks (the ` above the tab key usually) then we can see it and get a better idea of the problem.

So it would look like: ''' (except three backticks, not apostrophes) <code goes here> ''' (except three backticks, not apostrophes)

That's what makes it look like this:

console.log('This is monospaced code.');
Elizabeth Schultz
Elizabeth Schultz
1,989 Points

No need to answer this question anymore. I messed with Safari for a long time and got the console to work a little, but never fully. I installed and used Firefox and all of it worked immediately. Something about the way settings are for the Mac/Safari I am guessing.