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
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,688 Points
TextMate is a text editor for Mac. You are free to use whichever editor you prefer.