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

Downloading and saving files in Smells Like Bakin' webpage

Can somebody help with how I go about downloading and saving the files on the Smells Like Bakin' website course?As I am a novice,and not sure about the steps to take from the beginning.Sometimes my code doesn't run on the browser.Where do I safe my work?In the ST2 folder or on my Mac?The steps from the beginning please

1 Answer

Download the project files from the specific course and open the zipped files. For projects that I am currently working on I usually save a folder to my Mac desktop and work from there. Any browser should be able to open the html file like the "index.html" downloaded with this project.

After you download the files try double clicking the index.html file and it should open in your default browser. Or you can right click and choose "Open with" and select another browser or a text editor to edit the file.

I usually leave the .html file open in the browser while I am working from my text editor. This way every time I save my work in my text editor I can refresh the browser page and I can see the updates I made to the site.

One note: Made sure you keep the files you download in the order they were downloaded in. For example, the images are usually in an "img" folder and the css is usually in a "css" file. The index.html file has been told where they are and what path to follow, such as "css\style.css". That tells the index.html file that the file "style.css" that it needs, is located in the "css" folder. So if the index.html file does not have the correct path to the file it needs certain aspects will not work.

If you have any more specific question let me know. I was not sure how in depth to go or what parts exactly you were having the most trouble with. :)

Thanks Danielle,I appreciate it a lot.If any problems I will ask you again.Thanks again