Link to External Pages with Anchor Elements (making an a element that links to http://freecatphotoapp.com)

Tell us what’s happening:
help with this challenge please ?

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 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

You didn’t close the <a> tag. Close it and apply the texts between the tag. Something like this:

<a href =  "linktorefer"> Text </a>

bro i am still stuck, i have made an a element which has an anchor text and i have also closed the tag, the only thing i am left with is making an a element which links the given link, i don’t which line to put it…

i’ve re-read the instructions one more time and got it , i passed the challenge now.
but thank you very much, you’ve been very helpful…

1 Like