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 trialMike Zhu
1,840 PointsHow to find the console in my browser?
I am using Safari and chrome. I really want to know how I can find the console. Thanks!
7 Answers
Nure México
25,840 PointsOpen Web inspector (alt+command+"i" on Mac) and select Console option. It works on Safari and Chrome.
srikanth ssc
Courses Plus Student 385 PointsHi Mike Zhu
To open console in Chrome press Control+Shift+j and for firefox Control+Shift+K
Lexis Hamilton
10,181 PointsAdditionally, you can right click in Chrome and select "Inspect Element" and a developer tool pane will open in the window. You can select "console" from among them and use that to debug and test code.
Ian Conery
Courses Plus Student 7,308 PointsHit cmd option j in chrome, that will bring up the javascript console. If you want the dev tools console hit cmd option i. As for Safari try cmd option i
Chhavy Mahoney
2,649 PointsPress ctrl+shift+j for Chrome
Chhavy Mahoney
2,649 PointsPress ctrl+shift+j for Chrome
Corey Beckmann
1,856 PointsAdditionally, if you didn't want a keyboard shortcut, in Chrome 41, you can click the three bars on the top right corner of the browser window > More Tools > Developer Tools or JavaScript Console.