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

Nyiakki Ketez Height
seal-mask
.a{fill-rule:evenodd;}techdegree
Nyiakki Ketez Height
Data Analysis Techdegree Student 7,946 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

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.