Link to External Pages with Anchor Elements, help please

Link to External Pages with Anchor Elements, help please
0.0 0

#1

Tell us what’s happening:
Please help, I’m a beginner. I cannot find the error in anchor elements to the link

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; 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


#2

You almost got it, but,

  • remove the <a "cat photos"> line. That’s not valid HTML code
  • the exercise wants the URL in the href to be in http, not https.
  • the text in the <a> tag should be just cat photos, not this links to cat photos.

#3

Thanks Kevcomedia.

I got it.