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 How to Make a Website Customizing Colors and Fonts Use Color in CSS

Brice Franks
Brice Franks
1,488 Points

Why isn't link going to a separate page like the video shows?

I believe my element structure is correct but every time I click into the link it goes to the top of the page instead of it's own, what do i need to do?

     <ul>
        <li>
          <a href "img/numbers-01.jpg">
            <img src="img/numbers-01.jpg" alt="">
            <p>Experimentation with color and texture.</p>
          </a>
        </li>
    </ul>
    <ul>
      <li>
          <a href "img/numbers-02.jpg">
            <img src="img/numbers-02.jpg" alt="">
            <p>Playing with blending modes in Photoshop.</p>
          </a>
      </li>
    </ul>
    <ul>
      <li>
          <a href "img/numbers-06.jpg">
            <img src="img/numbers-06.jpg" alt="">
            <p>Trying to create an 80's style of glows.</p>
          </a>
        </li>
    </ul>
    <ul>
      <li>
          <a href "img/numbers-09.jpg">
            <img src="img/numbers-09.jpg" alt="">
            <p>Drips created using Photoshop brushes.</p>
          </a>
        </li>
    </ul>
    <ul>
      <li>
          <a href "img/numbers-12.jpg">
            <img src="img/numbers-12.jpg" alt="">
            <p>Creating shapes using repetition.</p>
          </a>
        </li>
   </ul>

3 Answers

Feisty Mullah
Feisty Mullah
25,849 Points

You are missing an equal sign after every href. Just make sure you dont leave spaces between them!

This issue is your html syntax. The href attribute of your <a> tag is missing a "="

        <a href="img/numbers-09.jpg">
Marios Pavlou
Marios Pavlou
5,498 Points

you have left out the = sign between your href and image link...

yours. <a href "img/numbers-01.jpg">

should be. <a href="img/numbers-01.jpg">