Issue with link

Tell us what’s happening:

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>



<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>
< a href ="https://freecodecamp.org" </a>
< a href ="https://freecatphotoapp.com" <a/>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

Hi there,

In your anchor links you’re missing the closing “>” on both a tags they should be like this:
<a href="https://freecodecamp.org">Insert Text Here</a>
<a href="https://freecatphotoapp.com">Insert Text Here</a>

Remove the spacing between your href and “=” as parsing looks odd

1 Like

Hi @ojijosephoji !

I would suggest resetting the lesson because you didn’t follow the instructions.

The lesson tells you to add just one link not two.

FCC instructions:
Create an a element that links to https://freecatphotoapp.com and has “cat photos” as its anchor text.

I would place the anchor tag right after the opening main tag

<h2>CatPhotoApp</h2>
<main>

<!--Link goes here-->

<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>

Hope that helps!

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