What have I done wrong? HTML 15. Same Page


#1

Hi All,
I’ve been trying to work out this small step for a wihle now, but I can’t find the problem with my code. All of the other items in this particular list seem to be correct, but there seems to be a problem with the “Habitat” line. If anyone can help me out with this, I’dreally appreciate it. Thanks in Advance!

Code Error


#2

Please post a link to the exercise. Thanks.


#3

Thanks for the quick reply mtf. Sorry I left it out, here’s the Exercise…

Step 15. Same Page


#4

Cannot access the error page. Please post the error message.


#5

I apologize again. The error message is… “Did you open the <a> tag before Habitat and close it after Habitat?”


#6
    <ul>
      <li><a href="#introduction">Introduction</a></li>
      <li><a href="#habitat">Habitat</a></li>
      <li><a href="#media">Media</a></li>
    </ul>

#7

Sorry for the late reply mtf. I was out all weekend. It worked! :slight_smile: Initially, I thought that each anchor tag for all list items had to link to #introduction, and not to the item’s own tag. I misunderstood the sample that was given in step 2 of the instructions. But all is corrected now and I am able to move on. Thanks again for your quick reply.and your help.


#8

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.