Give Links Meaning by Using Descriptive Link Text - What am I doing wrong?

Tell us what’s happening:

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. Click here for <a href="information about batteries">information about batteries</a>.</p>
  </article>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0.

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

1 Like

<a href="information about batteries">

Leave it empty: <a href=""> There suppose to be a link, but task dosent give you any.

Hi thanks, I did that but it returned -code.match(…) is null

show your new code, if it keeps giving errors

Hey buddy!
You should wrap the text like this:
<a href="#">information about batteries</a>

The text become a link, so it give more meaning / information to the user about that link.

*for this challenge, leave the href attribute empty.

Good luck!

btw congrats for your first post in the FCC forum :partying_face:
:slightly_smiling_face:

:grinning:
It worked! Thank you, feels like home!

It eventually worked, thank you…