Using Descriptive Link Text

Tell us what’s happening:
Does this one have a bug? I’m pretty sure this is correct. could someone take a look and see if I missed something.

Your code so far


<body>
  <header>
    <h1>Deep Thoughts with Master Camper Cat</h1>
  </header>
  <article>
    <h2>Defeating your Foe: the Red Dot is Ours!</h2>
    <p>Felines the world over have been waging war on the most persistent of foes. This red nemesis combines both cunning stealth and lightening speed. But chin up, fellow fighters, our time for victory may soon be near. <a href="">Click here for information about batteries</p></a>
  </article>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text

i place the a tag before and after the p tag.

Your a tag has to be around this text.

information about batteries

This is what the instruction says.

Move the anchor (a) tags so they wrap around the text “information about batteries” instead of “Click here”.

1 Like