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 trialShruthi Manas
893 PointsCreating 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
banned banned
Courses Plus Student 11,243 PointsOpen up notepad, save as .html ( = whatever you want) open in webbrowser and there you have it.
Julian Gutierrez
19,201 PointsAny 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).
Shruthi Manas
893 PointsThanks! :) I have downloaded sublime text 2 which is unregistered but works for my code you think I can still use it?
Julian Gutierrez
19,201 PointsYes, 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.
Shruthi Manas
893 PointsGreat! Will use sublime text :)
Andrew Mills
6,073 PointsI 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/
Shruthi Manas
893 Pointsyeah 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?
Carman A
7,672 PointsUnregistered 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.
Carman A
7,672 PointsYou should also setup a localhost. To help understand how web server's work
Shruthi Manas
893 PointsYeah.. I thought so.. Will do that thanks! :)
Carman A
7,672 PointsIf your on os x and use apache, and wanna make any changes you'll feel like a master when your done ;)
Shruthi Manas
893 PointsAlso 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
Carman A
7,672 PointsWhat 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.
Shruthi Manas
893 PointsI m on Windows. Oh okay let me try :) Thanks :)
derekverrilli
8,841 PointsI 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 :)
Shruthi Manas
893 PointsShruthi Manas
893 PointsThanks! :)