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!
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
Create a .js file in Google Chrome
So the "Writing Your Program" video shows the instructor creating a .js file in Google Chrome, but I CAN NOT figure out where he went to do that. It doesn't help that he's using a Mac and I'm on a PC... I've Googled this to death and still can't figure it out. Help!
Actually, he edited and saved both the example "index.html" and "myScript.js" files in a program called Textmate on Mac (see 0:45-1:15 in the lesson video).
Since you're on a Windows machine, you could try something like gEdit (https://projects.gnome.org/gedit/) instead of Textmate. I use gEdit because its free, open-source, fully featured, customizable, and is platform agnostic with versions for Windows, OSX, and Linux -- which is really nice if you wind up jumping from one to another occasionally...
Will the Crimson editor work
I think I need to find the video on working in a browser? I seem to remember it has something to do with how I save the file on the desk top as well as what I name it . I know in my browser I have to name it htm and not html for some reason .
For anyone still having issues figuring this one - here's what I did. use notepad++ or sublime text or any other editor to create index.html and myscript.js file. Create a folder on desktop and add both files to it. Launch index.html with chrome and then open the dev tool window. Click on the 'console' tab and now refresh your screen. The console will display the js message. Hope this helps.