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 Linking It All Up

Nyiakki Ketez Height
seal-mask
.a{fill-rule:evenodd;}techdegree
Nyiakki Ketez Height
Front End Web Development Techdegree Student 5,066 Points

In order to link my resume to the home page, I was thinking about making my image linkable. How can I?

I want to anchor my image and href it back to my homepage, however I am not sure how I would do that. I am getting an error every time I attempt it.

<!DOCTYPE html>
<html>
  <head>
    <title>Ketez Height's Resume</title>
    <link rel="stylesheet" href="resume.css">
  </head>
  <body>
    <img src="https://placeimg.com/200/200/tech" atl="Ketez Height, Web Developers" class="main-image">
    <h1>Ketez Height, Web Developer</h1>
    <h2 class="section-title">Summary of Qualifications</h2>
    <ul>
      <li>Experiece as a freelance web developer</li>
      <li>Experience with HTML, CSS, and JavaScript</li>
      <li>Bachelor of Science, Sociology</li>
    </ul>
    <h2>Education</h2>
    <h2>Employment</h2>
  </body>
</html>

link to my work: https://w.trhou.se/006debnrq0

1 Answer

Jason Larson
Jason Larson
7,174 Points

You're probably getting an error because you misspelled "alt" in your img tag. To make an image a link, just put it inside your anchor tag:

<a href=linktoyoursite><img src="https://placeimg.com/200/200/tech" alt="Ketez Height, Web Developers" class="main-image"></a>

Also, if this is your resume, you should correct the spelling of Experience in your first list item.