Tell us what’s happening:
The question is:
Create an a
element that links to http://freecatphotoapp.com
and has “cat photos” as its anchor text
.
It shows me this error: “You need an a
element that links to `http://freecatphotoapp.com”
Can anyone help me find out the error?
Thanks
Yutong
Your code so far
<h2>CatPhotoApp</h2>
<main>
<a href="http://freecatphotoapp.com">cat photos</a>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements