Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML Introduction to HTML and CSS Adding a New Web Page Write the HTML

Matt Mittman
Matt Mittman
1,836 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
1,836 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
1,836 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>

2 Answers

Matt Mittman
Matt Mittman
1,836 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

Matt Mittman
Matt Mittman
1,836 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! :)