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 trialDaniel McHugh
1,821 PointsErrors not displaying in the IE console?
How can I get these errors to display in the IE console? I'm on the console challenge portion of beginning JavaScript in which we're supposed to identify errors in the default code via the console. I open the workspace without making any changes, preview, hit F12, and it keeps coming back saying no errors. It looks like the console is only reviewing the code for the html and not the javascript, but either way, I can't get it to come back listing any errors.
Daniel McHugh
1,821 PointsI know there are errors because that's the point of the current exercise I'm on. I launched its workspace and was instructed to use the panel to identify errors. Here is the snap. Also I edited the post to include that info. https://w.trhou.se/sap2p0xo5d
1 Answer
Steven Parker
231,268 PointsI see these errors in the console.
I don't normally use IE, but I tried this using IE11 and got this output in the console:
SCRIPT1006: Expected ')'
File: scripts.js, Line: 2, Column: 11
It's a bit obscure, since what's actually wrong with the second line is that the string is not enclosed in quotes. But that's not the kind of thing the system can easily detect.
To be sure to see the errors, refresh the page on the browser after you have the console open.
Steven Parker
231,268 PointsSteven Parker
231,268 PointsWhat causes you think you have errors if there are none displayed?
Perhaps you could make a snapshot of your workspace and post the link to it here to facilitate analysis of the issue.