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

HTML

Kris Byrum
Kris Byrum
32,636 Points

How to start working on a HTML project?

I think I missed it, but I don't remember this being discussed greatly.

I understanding working on a HTML project and css, but how can I code and then preview a project in the browser if I chose to not work in the workspace provided here?

i know about Window's NotePad, but i'm still unsure how to get started.

Thanks for the help and I have been learning and working hard!

5 Answers

you write your code in the file, save the file (with a .html extension), and then open that file using a browser

Kris Byrum
Kris Byrum
32,636 Points

Use the 'open with' to open the file?

Hows would the css and other pages get loaded as well?

you can just double click it and it should open in your systems default browser. you can use open with if you want to select a specific browser.

you would have your html files and css in the same directory, and the css would be linked to your html in the head of your html file. thats how the css is "connected" to your html file, and when you open that html file in the browser, it sees that you have that css file linked, so it goes to the path you specified in your link to where css file is and uses that to style your page. it works the same way for any other pages you have linked in your site, it uses the path to the file in your link.

If the CSS is properly linked, it just works :). Just be sure to use a folder per website.

Kris Byrum
Kris Byrum
32,636 Points

and i'm sorry but thank you both for taking the time to write....

The next lesson tree tells me how to start from the very beginning. The first how to build a website only quickly touches on it.

Thanks again !

You might want to consider getting Sublime Text. I do think that they offer a Windows version...

It's important to note that while Sublime Text has an unlimited time free trial it costs $70 per licence.

> i know about Window's NotePad, but i'm still unsure how to get started.

To make your life easier you'll probably want to get a text editor that supports syntax highlighting. Notepad++ is a free programming text editor on Windows.