Problem with Anchor Elements

So as far as I can tell I have done everything right but it is saying that I need an a element that links to: http://freecatphotoapp.com

From all the videos what I have put is correct and I don’t understand what is the problem. Can anyone tell me what I have done wrong.

Your code so far


<h2>CatPhotoApp</h2>
<main>
  
  <a href="https://freecatphotoapp.com">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 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements/

you’re going to https://freecatphotoapp.com rather than http://freecatphotoapp.com - remove the ‘s’.

The explanation shows this link :
<a href="https://freecodecamp.org">this links to freecodecamp.org</a>

While the problem requires you to put in this link:
http://freecatphotoapp.com

Former link contains “https” while the latter link contains “http”. Just a twist of words.

You need to keep an eye for these subtle changes throughout the coding challenges as these are a part of FCC challenges.

1 Like

thank you both I feel like such a ditz lol

1 Like

Had that same problem when I was doing it and the forum helped me too. :slight_smile:

You don’t need to feel anything about it. You just have to be more attentive as it will help you later on in the future.

1 Like