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.

HTML Build a Simple Website Text Editors and HTML Images and Lists

Opening the text editor

I downloaded the text editor, sublime 2, however it is a bunch of different files. Which one do I open?

6 Answers

Calvin Nix
Calvin Nix
43,828 Points

If I understand your question correctly than you will need to run the .exe file. This will allow you to run sublime text take you through the install process.

Great, that worked. Should I change the name of the file to Index.html? Right now it it is listed as "Sublime Text". Also, what file should I save it under?

Scott, do not change the "Sublime Text" files in any way. let your installer do that for you.

When you open up "Sublime Text", the file menu, then click "new..." to create a new document. when you save the document out, whether it be HTML CSS JavaScript or otherwise, just add the appropriate ending portion after the name you choose in that pop-up window, (ie .html, .css, .js, etc).

Conrad Beach
Conrad Beach
24,063 Points

Which operating system are you using?

I am using Windows

Calvin Nix
Calvin Nix
43,828 Points

What do you mean? What different files are you referring to?

I am using Windows

Conrad Beach
Conrad Beach
24,063 Points

If you click the right link, it should just be one installer file that is downloaded. Are you downloading Sublime from this page?

Perhaps you accidentally downloaded the portable version. In that case, go back and download the regular file or launch the program by clicking on 'sublime_text.exe' from the folder you first downloaded.

Got it. Thanks

Calvin Nix
Calvin Nix
43,828 Points

Change the name of the .exe file to index.html? No you don't want to do that. Sublime text is merely a text editor to write your code. (However it is really powerful because of all the features that it includes) Technically, you could just write all of your code in "notepad" which comes pre-installed in windows computers. The index.html file is used when you are actually creating a website and it is the file that the web browser reads as the home page.

Good to know. Thanks for your help!