I cant add a link

Im trying to add an link and it says that I need an [a] attribute but can’t find why here’s my code so far:

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<a href="https://www.freecatphotoapp.com ">cat photos</a>


<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14092.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.107 Safari/537.36

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

You’ve got a space character between the end of the URL and the double quote. In the real world this link will still work with the extra space but the FCC tests are not expecting it and thus you are not passing.

But just because it will work with the extra space doesn’t mean it should be there :slight_smile:

Thankyou so much i was so stumped!

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