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
creating and saving js file in textmate
In this video he has a "Web" file (I guess it is textmate??). Could someone please tell me how to create the "Web" file, the index.html, and the myscript.js? New mac user and new to programming so the more detail the better. Thank you
The "Web" file as you're referring to is a Folder, Directory or what you preference of calling it. So creating a folder is just go into Finder right click and select "New Folder".
I would recommend that you create a Folder just for just your development. You can call it "Development", "Sites", "Web", "Web Development" etc. and then make a folder for your project like "HelloWorld" or "MyWebsite" etc. Then save your files in the right project folder.
Thank you very much for the detailed response. In the "writing your program video" he is saving all of these in a google chrome file/page. How do I achieve this part (where i am saving everything that I am doing in textmate to the google chrome page. Sorry again for the over simplistic questions.
Right now I have a "Web" folder saved in "Desktop". In the web folder I have 2 files (the .html and the .js file). It seems like having these saved in the desktop is the wrong place. I have the js console opened up and I also have the html "introduction to Programming" opened in chrome. At the beginning of the video, on the left side, he has the file "Web" and then underneath it the html and js files. If you could just tell me exactly what he is doing there and how to duplicate that I would greatly appreciate it. Hopefully last question. thank you