You need an `a` element that links to `http://freecatphotoapp.com"

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

i think this is a bug as its happened to a few people and your code works for me, so try re-writing or refresh and try again maybe

Thanks a lot. I think it is a bug as well.

1 Like