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 trialJoe Fuentes
20,456 Pointsquestion
in all these videos he has a screen where he writes all the coding, how to I pull up that screen so I can practice while he is showing me?
4 Answers
James Barnett
39,199 PointsThere are 3 things going on here:
- Browser (where you see the results of your code)
- JavaScript Console (where you get any console output, like
friends.length
in this video) - Text Editor (where you type your code)
I think what you are referring to is the text editor, where Jim is typing his code. That file is then saved and linked to the html file that is being viewed in the browser.
Check out the Writing Your Program video at the start of the course which walks you through using a text editor to write your code.
A good free text editor for Windows is notepad++.
Christopher Andrew Kemur
7,709 Pointsit's a code editor, jim is using textmate. but i think you can use any code editor that suits you.
James Barnett
39,199 PointsI'm guessing you are referring to the JavaScript Console.
You didn't tell use what OS & browser you are using, the shortcut to bring it up in Chrome on Windows is ctrl + shift + j
.
Joe Fuentes
20,456 PointsSorry! I am using Chrome on windows. And i know how to pull up that screen that shows what has been done after you execute the code.
I guess my question is, the guy teaching looks like he is working from two different screens.
One that you refresh to see what code you put in does and one that you type the code in. Is the ctrl + shift + j both of those and I just need to click on something to type in the code? the title for the tab he has pulled up is mysript.js.
I have been watching the videos on "introduction to programming". Thanks.
Jim Withington
12,025 PointsYou're right: he wasn't clear that he was using a text editor for this. If you're used to using Workspaces (like in the How to Build a Website class), it's a bit strange to jump to a class that just casually mentions Textmate as something he's using.