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 Introduction to HTML and CSS (2016) Adding a New Web Page Write the HTML

Ava Jones
Ava Jones
10,723 Points

My code is exactly like the teachers code but the picture on my website is not there

1 Answer

Steven Parker
Steven Parker
231,275 Points

In the video, a file named "resume.html" is created, but there is no file by that name in this workspace. However, there is a "profile.css" that has somewhat similar contents to the video, so I expect that's the one you are working on.

More importantly, the file the browser displays initially in the preview is "index.html", and it currently has no hyperlinks to the other file; so you won't see this other file at all unless you attach "/profile.html" to the end of what appears in your browser's address bar. If you do that, you'll see the other page including the random image from placeimg.com.

You'll still need to reference your CSS file and add a few rules to it, but this should get you back on track.