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 Beginning HTML and CSS Follow Along with Workspaces

Clara Nelson
Clara Nelson
1,350 Points

I'm trying to download and open the files to build the website but when I download them it won't open anything

When I download the file it opens in the zip manager and the file is named index. I go to extract the files and it opens a webpage that just says Nick Pettit. What am I doing wrong. By the way i'm using windows.

Why would the image links not show up on my preview windows from modules with Nick. <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact">Contact</a></li>
</ul> </nav> </header> <section> <ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Experimentation with color and texture.</p> </a> </li> <li> <a href="img/numbers-02.jpg"> <img src="img/numbers-02.jpg" alt=""> <p>Playing with blending modes in Photoshop.</p> </a>

2 Answers

Hi Clara,

In order to create your very own website with your own content, you need to create a new folder in Workspaces. After that, you can start by creating an HTML document in that folder calling it "index.html". From there, you can add all the HTML you've learned from the videos and once finished, Treehouse will let you download these files for you to enjoy. I hope this helps.

Kevin Korte
Kevin Korte
28,149 Points

If you opened the file with a text editor, even Notepad would work, but a more common program might be Sublime Text, you'll actually be able to see the code in that file.

By default when you open an HTML file in a "preview" mode it'll render the file in a web browser for you.