Anchor Elements - stuck

Its saying - you need an a element that links to http://freecatphotoapp.com

looks ok to me!

Your code so far


<h2>CatPhotoApp</h2>
<main>
  <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>
  <a href="https://freecatphotoapp.com">cat photos</a>
</main>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements

The text of the href attribute must match exactly what is expected. Yours is NOT http://freecatphotoapp.com

1 Like

the task is to use anchor tags in your code and link it to the website given.

Add the following code above the img code:

<a href=" http://freecatphotoapp.com">Cat Photos </a>

remove the ā€œsā€ in https for the link part of you code.

ah, thanks so much
x