how to Create an  `a`  element that links to  `https://freecatphotoapp.com`  and has "cat photos" as its anchor text

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

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://cat photo"> 
this links to 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/86.0.4240.198 Safari/537.36 Edg/86.0.622.69.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Looks like the terminology isn’t clear.

  1. Element that links to means the href should be set to this. In the case of this example the href should be set to https://freecatphotoapp.com
  2. Anchor text means the text inside the opening and closing tags. For this example, it should be ‘cat photos’

You’re almost there! Just need to update the a tag you currently have at the last line.

Hello
The anchor text should be “cat photos” ans d the link should be “https://freecatphotoapp.com”, you did the opposite…

Hi!
you just reverse them. replace freecatphotoapp.com by cat photo and vice versa
Happy coding!