Anchor text and href

Tell us what’s happening:
how can i enter the anchor text in this chalenge here please

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">this links to catphotos.com</a>

Your browser information:

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Use <a href="[your link goes here]">[Your text goes here] to add an anchor element and a text. You have already added an anchor tag as it seems:

[spoiler]<a href="https://freecatphotoapp.com">this links to catphotos.com</a>[/spoiler]

This is an anchor tag

1 Like

Anchor text is what goes inside <a> tag:

<a>This is anchor text</a>

In the challenge you’re asked to set the anchor text to: “cat photos” and your element looks like this:

<a href="https://freecatphotoapp.com">this links to catphotos.com</a>

I hope it’ll help you :wink:

1 Like

thank you,but if i may ask it seems like i added an anchor text but in the challenge it says that " Your

a

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

this is your anchor text
the challenge asks for the anchoe text to be just “cat photos”

1 Like

Just add “cat photos” without the quotes between the tags.

<a href="your link here">text</a>
1 Like

got it thank you so much for all the help