Cannot pass basic HTML challenge

Tell us what’s happening:
I have tried to pass the challenge labelled: “Basic HTML and HTML5: Link to External Pages with Anchor Elements”. I have tried using my own code, the code in the example video and the code in several of the challenge guide comments. I cannot for the life of me pass this challenge even using the spoiler code. The line I need help with is the last line of code. Is there something wrong with it? If so, what is it and how can I fix it?

The criteria for the challenge is:
-Your a element should have the anchor text of “cat photos”.
-You need an a element that links to (this is the one I supposedly get wrong
-Your a element should have a closing tag.

Edit: I’ve tried to nest the “a” element inside the “main” element. The result is the same. I can’t pass the challenge.

Solution: I was missing the “s” at the end of “htpp” thanks for the help!

Your code so far


<img src="" 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>
<a href="">cat photos</a> 

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS armv7l 13099.72.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.94 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

I think your “a” element needs to be inside the main tag, hope this helps you :slight_smile: keep up the good work.

Hey thanks for the input! I tried that and it still says I can’t move on, but thanks for the help anyways :grin:

1 Like

Hey, :wave:
I think your problem here is that you suppose to nest the a element in the main element.

Have you tried putting the anchor element above the image element inside the “main” tag?

The link needs to be instead of

Notice the missing ‘s’ in your link, which took me a few minutes to spot.