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

Matt Mittman
Matt Mittman
2,178 Points

HTML resume project won't display when run, goes to other page?.

When I run it I get the sample webpage with the spinning cat pic? I know i'm doing something simple wrong, what is it?

Hi Matt, Can you share the code? You can share with the snapshot so we can have a look at both file. Or can you share the part/section where you changed the spinning cat pic?

Matt Mittman
Matt Mittman
2,178 Points

I took the snapshot, not sure how to share here? I think learning the treehouse software is as hard as learning coding.

Can you copy and paste that section?

Matt Mittman
Matt Mittman
2,178 Points

<!DOCTYPE html> <html> <head> <title>Matt Mittman's Resume</title> </head> <body> <img scr="http://placimg.com/200/200/tech" alt="Matt Mittman, Web Developer"> <h1>Matt Mittman, Web Developer</h1> <h2>Summary of Qualifications</h2> <ul> <li>Freelance Web Development</li> <li>Experiece in HTML, CSS and JavaScript</li> <li>Bachelor of Music in Music Therapy</li> </ul> </body>

</html>

Roberto N
Roberto N
2,766 Points

Add /resume.html at the end of the URL. The URL that displays is the index.html by default

3 Answers

Matt Mittman
Matt Mittman
2,178 Points

Thanks for the help, Shem. I got it figured out for any with the same problem: I needed to put /resume after the url and hit refresh after I tried to run my html resume page. if you don't it'll run the original sample page with the spinning cat. Meow! :)

Matt Mittman
Matt Mittman
2,178 Points

I ran the code in VS code and it works, but when I try to run in treehouse with the eyeball icon, I get the page with the spinning cat. Appreciate any ideas. Learning code i heard enough without other issues.

can you check if you are changing the correct img tag? looking at the html file, to change the cat pic you need to change the img src to point to where your image is located.

   <header>
      <img src="images/ your_pic.png/jpg" alt=" " class="profile-image">   <!--- your_pic.png/jpg -->
   </header>

To add your image to the folder in workspace, right click the images folder and click upload file or you can paste url link to your pic

Hi Shem Ogweno, I apologize but I am having a similar issue that Matt had. I have tried putting /resume.html and /resume at the end of the url for the preview workspace that shows index.html by default. It pulls up a 404 error page not found. Is there any other fix that I am missing for it? I have not linked the Resume to the index.html screen yet. Thank you in advance for your help.