Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
What does Jim mean when he says his code is being stored in a text me file? Is that part of the developer tools?
Jim mentions that he has his code stored in a text me file ? What exactly is that ?
Harry James14,780 Points
To do this, hop open sublime and create a new file (This can be anything as long as it ends in .html but, in HTML, we often call the main page index.html so, this would be a good name to call it). Then, write/copy this code:
Next, we can open up our page. To do this, just open up the index.html file in Chrome (You can do this by Opening with Chrome or you can, in the Chrome address bar, type where you find the file (E.G: If you put it in your documents on windows, type C:\Users\Harry\Documents\index.html). Remember that if you changed the name of the .html file, you need to reflect that here.
You should now see a page with a button and 3 titles. Good! Your website is working! Next, let's test to see if the .js file is linking in fine. In your .js file, type:
If you have any more questions, feel free to ask :D
Sean T. Unwin28,660 Points
TextMate is a text editor for Mac. You are free to use whichever editor you prefer.