Correction for me pls. where did it go wrong?

cant work out that one, doesn’t explain why?

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.">

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

<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://freecodecamp.org">this links to freecodecamp.org</a>



Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

hello friend,

Your

a

element should have the anchor text of “cat photos”.

maybe your anchor need some text element :wink: good luck friend

and your link is wrong.

you are being pretty fast asking for help. Maybe try to spend some more time on each challenge? you need to understand what’s going on, everything you find you will need later, if you don’t understand the correct way then you will have difficulties later.
Note: You don’t have to memorize, as you can always return to this challenge to check again how it is done, but you need to understand and be able to write it correctly.


you do not have a href attribute here
the href attribute should be inside the opening tag

<a>"http://freecatphotoapp.com"><cat photos</a>
  |  |                          |
  |  missing 'href='            extra '<'
  |
 extra '>'

here you have an href attribute but everything else is wrong
as you need to have as requested:

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

1 Like

@Crazynewworld

Take your time mate it’s a long and very interesting journey, if you have hard time you can take a break and read again the challenge. Sometimes the code will not work because of a simple capital letter. Take your time and have fun