Give Links Meaning by Using Descriptive Link Text (<a> tag not recognised)

Tell us what’s happening:

I’m trying to complete this challenge. For some reason, the closing tag is not being

Your code so far

  <h1>Deep Thoughts with Master Camper Cat</h1>
  <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</a></p>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36.

Challenge: Give Links Meaning by Using Descriptive Link Text

Link to the challenge:

Hello @gaximus ,
that’s because your <a href></a> element should be nested inside your <p></p> tags.

Sorry that’s not the most accurate code. I put them inside and it’s still not working. Let me update the code.

<a href="">

For some reasons it doesn’t work with the space < = " ">

So how should I fix this?

By typing

<a href="">information about batteries</a>

Without spaces between href , = , and “” .

1 Like

Perfect! Thanks :grinning:

1 Like