Anchor Elements cat photos to web link

Tell us what’s happening:

the problem lies in this bit here:

<a href="https://freecatphotoapp.com">cat photos</a>

cat photos is suppose to attach to the HTML link. I think the anchor <a, should be <a> but that still doesn’t solve the link to the web address I think I did it the way it was shown in the example, not sure what I’m doing wrong. Thank you for any help that is offered.

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

Your browser information:

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

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

Your code is fine, it’s just that the href url should start with “http” and not “https”.

1 Like