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

CSS How to Make a Website Customizing Colors and Fonts Resize Text

Creating a website

Hi! I'am planning to create a website for a small firm and using the tutorial. But, here we use work spaces, I wanted to know how i could do it outside of Treehouse workspaces what all do i need to download to do my codework?

5 Answers

Open up notepad, save as .html ( = whatever you want) open in webbrowser and there you have it.

Thanks! :)

Julian Gutierrez
Julian Gutierrez
19,201 Points

Any text editor(i.e. notepad) can handle html and css coding just as long as you remember to save your files with the .html or .css extensions. It is however beneficial to use a code editor that has some sort of syntax highlighting, auto complete, etc. I'd recommend notepad++(free) or sublime text (not free).

Thanks! :) I have downloaded sublime text 2 which is unregistered but works for my code you think I can still use it?

Julian Gutierrez
Julian Gutierrez
19,201 Points

Yes, actually as far as I can remember the unregistered version has no limitations it just reminds you that it's unregistered every so often. Sublime Text is my choice of editor and is currently very popular so documentation is readily available.

Great! Will use sublime text :)

I use sublime text outside of treehouse. Paying for it, at this point, is optional. I love it and I'll donate once I get my first paying design gig! http://www.sublimetext.com/

yeah just checked its about 70 bucks I want to think... but I do have sublime text 2 which is unregistered you think i can still use it for my coding?

Unregistered sublime is the same as registered... except one costs money and another doesn't. If someone starts using it to make money though they should buy a license.

You should also setup a localhost. To help understand how web server's work

Yeah.. I thought so.. Will do that thanks! :)

If your on os x and use apache, and wanna make any changes you'll feel like a master when your done ;)

Also I wanted to know I type all my code on sublime, how do I preview it on the browser I mean how do I set up a local host? To see the output Sorry to bother you with too many questions

What os are you on? Apache is usually the easiest to use. I've never used it on windows, but have on osx, and debian linux.

You don't have to have localhost to view your html. You can just go to your folder(with your website) and open the .html file with a browser.

I m on Windows. Oh okay let me try :) Thanks :)

derekverrilli
derekverrilli
8,841 Points

I recommend installing XAMPP. Just run the self-installer, open the control panel and start Apache (the other stuff you don't need if you're just testing basic websites, but will come in handy as needed). Then just type 'localhost' into your browser and go from there :)