Link to External Pages with Anchor Elements: How to close anchor tag

Tell us what’s happening:

How do I make my a have anchor closing tag

Your code so far

<a Href="" >cat photos </a>
<img src="" alt="A cute orange cabyt 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> cat photohref=""> <a/>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; P8M Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83 Mobile Safari/537.36.

Link to the challenge:

It has a closing. Remove the space after photos

1 Like

I think you should thake the tag after the first a . I’m also a beginner

1 Like

On the last line of the code.

1 Like

Freecode camp hates extra spaces. Remove the extra spaces like below.

<a href="">cat photos</a>

1 Like

cat photos

Error still the same.

try to put your cat photos in double quotes like this = “cat photos”.

still won’t close… Error still exist

Your problem is this extra anchor at the bottom of your code.

Your ‘cat photos’ link is fine. This one though really needs some help.

sorry, I’m not getting it

Got it now… Thank you

Very minor change you need, <a/> should be </a>

Please I have lingered on this lesson for a while; is showing ‘your a element should have the anchor text of cat photos’ can anyone tell me what the problem is
<main><a href=">cat photos</a>"

@Helmsman your last quotation mark is in the wrong place.

@eoja thank you. i got it right

1 Like