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

General Discussion

What is the best course for teaching me local website development.

I have completed the course of how to make a website using HTML and CSS. Using the Workspace was excellent. What is the best course to start that will teach me how to specifically develop a website locally. I have tried starting a few and then realised they are not what I am looking for. Any advice would be appreciated

2 Answers

Tyler Armstrong
Tyler Armstrong
13,887 Points

For HTML and CSS you don't need to setup a local server. Find a text editor you like (My favorite is Sublime Text). Sublime costs money, but you can find a ton of free ones online. TextWrangler is the one I started with. Once you have your file open in your text editor, edit your HTML and CSS files, save, then open your index.html in your browser either by double-clicking the index file, or file-open. Refresh each time you save a new edit.

Tyler Armstrong
Tyler Armstrong
13,887 Points

Also for some further clarification, HTML/CSS are client side languages. Meaning it is interrpretted by your local browser (safari, i.e., firefox, etc).

Server side languages (such as PHP) on the other hand, must be interpreted by the server. Then the server "serves" your HTML/CSS markup to the client (your local browser). PHP would need a local environment to act as your server. I use MAMP. To learn more about local development I would suggest some Treehouse courses in PHP and/or Wordpress.

If for whatever reason you do want to setup a local web server, there are videos on how to do so on Windows and Mac in the Building a Simple PHP Application course.