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 JavaScript Console

Can't open the console in Javascript ,Please Help.

How to open the console I can't open it. I use Command + Option + C, but it still can't open the console.Please help.

You can use your browser built-in console to do things with javascript, for instance in Google Chrome, you should just press F12 or Ctrl + Shift + I to open developer tools and then go to Console tab, you can try some javascript code there.

I use safari,and when I press Control + Shift,it does't show anything.

2 Answers

In Safari you can open web inspector by following steps

  1. Enable the Develop menu option in the Advanced preferences.

  2. Use the optional toolbar button, Develop menu or Inspect Element context menu to access the Web Inspector.

or after enable Develop menu option in preferences you can use Command-Option-I to open inspector

Thanks it Work! but why it doesn't same with Teacher console?

the reason it looks different is because Teacher is using Google Chrome, you can try Google Chrome to have the same console, but it doesn't really matter.

thank you I was having the same problem and this fixed it

Another simple way is to right click on mouse and then click 'inspect element' right?