Link to External Pages with Anchor Elements>help needed

Tell us what’s happening:

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="">this links to</a>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

Link to the challenge:

the challenge says:
Create an a element that links to and has “cat photos” as its anchor text.

your href link is wrong, and your anshor text is not cat photos.
read carefully next time.
keep hacking.

I am learning not hacking dude

Press control and click on the link
It should take you to the link I posted on my script. It is right

this is your code, right?

Yeah, it is mine…

the code i highlighted in yellow is where the problem is.

the challenge is asking you to:
Create an a element that links to and has “cat photos” as its anchor text .

OK, but I don’t know how to do that. May you help me please


In the href attribute the link should be like the challenge says.
and the text should be “cat photos”.

1 Like

Is this what i had to do sir.

change to
and ‘this links to’ to cat photos.

I got it, thanks sir it really helped me

Glad i helped :grin: