I'm stuck on elements

I’m not sure what the tutorial is asking for when it wants an element to 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 href="https://freecatphotoapp.com">cat photos</a>

Your browser information:

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

I don’t understand what element it wants in order to link to the website…

“Links to” refers to the “destination web address”. If you click on a link, it takes you to a location. It “links to” that location.

Again, I’m confused as to what link it needs… I watched the video, but alas it was no help…

You have the a element here, the issue is that it is not being recognised because the href attribute value doesn’t match the given one. You need to be really precise and have it match to the last character. You have one character of difference

1 Like

I can’t see where I’m deviating…

WOW. I found it… Thank you. The precision required here is unlike anything I’ve personally experienced. I really appreciate your patience.
Semper Fidelis.

All good practice for when you will have something really big not working and the only issue is a typo somewhere :wink:

Create an a element that links to http://freecatphotoapp.com and has “cat photos” as its anchor text .

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

Will be rendered as ==> cat photos