What is anchor tag

What is anchor tag
0

#1

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
<a"value"href="http://freecatphotoappcom">this links to 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.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 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/


#2

Check your line of code following the main element.


#3

The anchor tag is used for hyperlinks or to link within a page
It looks something like this,

<a href="link">place anchor text here</a>

Compare this with your anchor tag, remove the extra things you added comparing this and replace the text of your anchor tag with a text which the challenge asks,

Refer this to learn about anchor tags,

https://www.w3schools.com/tags/tag_a.asp