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 trialKathryn Notson
25,941 PointsJavaScript Basics: The JavaScript Console
(I'm using a Worksource Oregon desktop computer.) I tried to use Windows 7 Professional/Enterprise Internet Explorer 11 on this exercise. I used the F12 key to open the IE 11 console. I highlighted the "Console" tab once the console opened, but I didn't have any code appear in the console box at all to tell me where the errors were in the JavaScript file. I did use the F5 key to refresh the page, but nothing happened. What do I need to do to make the Windows 7 Professional/Enterprise IE 11 console to work properly on this exercise?
1 Answer
Brigette Eckert
16,957 PointsI haven't used IE but if the console is blank you might not be getting errors. What I do is normally console.log("Hello World") (in my source code and refresh the page) or something else to make sure that my code is running. Also if you have the opinion I recommend downloading and using chrome because their dev tools are nice and straightforward.
Brigette Eckert
16,957 PointsBrigette Eckert
16,957 PointsSpecifically if you are trying to run loops or conditional statements etc I will console log one thing before the loop and something else inside the loop or condition to see parts of the code are running. Also http://jshint.com/ is a useful tool. Unless you are running an AJAX request for something similar if there are no errors the console is normally blank.
Kathryn Notson
25,941 PointsKathryn Notson
25,941 PointsBrigette Eckert: WorkSource Oregon does have Google Chrome, but their desktop computers are set up to run on IE 11 automatically.
I investigated the Microsoft web site & it mentions using the F12 key then Ctrl + 2. See the following links: IE 11 Console: https://msdn.microsoft.com/library/bg182326(v=vs.85), Tools Menu: http://go.microsoft.com/fwlink/p/?LinkID=285857, Console Tool Ctrl + 2: https://msdn.microsoft.com/en-us/library/dn255006(v=vs.85), and IE 11 script errors: http://go.microsoft.com/fwlink/p/?LinkID=285822.
I'm going to try the F12 key & Ctrl + 2 & see what happens. It should work. If it doesn't, I'll have to ask for help again.
I tried both WorkSource Oregon Microsoft Windows 7 Professional/Enterprise IE 11 & Google Chrome JavaScript Console, & neither worked. I suspect the Microsoft Windows 7 Enterprise Mozilla Firefox JavaScript Console won't work at the Multnomah County Library, either.
Team Treehouse, Inc. uses Mac OS X & since their Workspace runs on that system, I don't think it's compatible to Microsoft Windows IE 11, Google Chrome, or Mozilla Firefox JavaScript Console. This is a brick wall to completing this module.
I'm not far enough in JavaScript yet to know how to do loops & conditional statements, nor do I know AJAX, but I'll get there eventually.
I wrote down your web link hint in my notes. Thanks for that.