Code seems correct but Run Test fails, am I missing something?

Tell us what’s happening:

  **Your code so far**
  Hi, this is my first post, I'm new to coding. Sorry this is very basic but I followed the instructions and I still get an error saying:

// running tests You need an

a

element that links to

https://freecatphotoapp.com

// tests completed
I already added this link in my element ‘a’, then why is my Test Run failing?


<h2>CatPhotoApp</h2>
<main>
<a href="https://freecatphotoapp.com>">This links to CatPhotoApp Website which has many cat photos</a>

<img src="https://bit.ly/fcc-relaxing-cat" 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 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

You have a stray “>” in there.

1 Like

Oh shoot! Thanks so much! My bad :slight_smile:

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