I am trying to create an "a" element that links to https://www.freecatphotoapp.com

Tell us what’s happening:
Describe your issue in detail here.
hello, please I was asked to create an a element that links to https://www.freecatphotoapp.com and has “cat photos” as its anchor text and after doing that it constantly gives me an error message.

  **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 cat relaxing 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 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hi @JoyMo25

Welcome to FCC. The value of href attribute is supposed to be "https://www.freecatphotoapp.com". It is always better to copy and paste URLs.

1 Like

thank you. it worked.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.