Help! Nothing is working!

So I tried all possible combinations I could find on the forum regarding this challenge. Nothing is working, can someone please help me out? Otherwise i’m stuck…

My code so far…


<h2>CatPhotoApp</h2>
<main>
<a href="https://freecodecamp.org">this links to freecodecamp.org</a>

<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 Edg/84.0.522.52.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

1 Like

Hello and welcome to the FCC community~!

This line here is the example element from the challenge instructions and should not be included in your code. Try removing it and see what happens. :slight_smile:

That one is actually working, the one with “cat photo app” isn’t. Any suggestions?

I copied the code you provided and removed that link I quoted, and the tests passed. Have you tried doing that?

I tried, it’s still showing me that the <a element for cat photo app is needed…

You have not removed that link that I quoted and suggested you remove. :slight_smile:

2 Likes

You still need to remove line 3. The example element is disrupting the tests.

1 Like

My mistake. I removed the third line and the challenge passed… :sweat_smile:

@singidunumite, Your code is ok, just put this line at first inside main

1 Like

Thanks for the feedback, i’m still learning the ropes, programming is new to me

1 Like