I need help with this "you need an element that link to freecatphotoapp<wbr>.com

Tell us what’s happening:

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 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 are missing one or the quotes surrounding the url
and when it says to use “cat photos” as the text of the anchor element it doesn’t mean to include the quotes, but only what’s inside the quotes

1 Like

please if you know how am suppose put it, just write it for me because i cant come out of this myself.

You literally need to move the " to the left side of the >, not the right.

1 Like

<a href="https://freecatphotoapp.com>"cat photos"</a>
this is what i need to get right, so please what am i moving to the right side here and not the left side because i’m still confused.

attribute="value"
href is the attribute. the url is the value, but you are missing one of the quotes

plus it isn’t <a>"cat photos"</a>
they say to use “cat photos” as anchor text, but that means to use just what’s inside the quotes, not also the quotes

Cat photos doesn’t need to be in double quotes. Remove those.
You need to close your href attribute with a second double quote.

<a href=https://freecatphotoapp.com>cat photos</a> i have this now and its still saying that i need an element to link to what i have and i don’t really know what else to add or remove

Almost there.

Look at the protocol part of your URL and compare it to the one the challenge is asking you to use.

you have a typo in your link