Can you please help me I have been working on this for hours!

I have been trying to figure out how to do the a element that links to

Your code so far

href=" "> this links to>cat photos  </a>

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

Your browser information:

User Agent is: <code>Mozilla/5.0 (Linux; Android 4.4.2; SM-T310) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Safari/537.36</code>.
**Challenge:** Link to External Pages with Anchor Elements

Link to the challenge:

Hi, this is what they want you to do.
<a href="" target="_blank">cat photos</a>

Welcome Sophie,

I have edited your post to be more readable.

The lesson wants you to make use of the a element to link the website. In general, an a tag has an href attribute (exactly as you have done), and the text between the opening <a> tag, and closing </a> tag.

The text the lesson is looking for is: cat photos (as you have done)

But, it seems you have put too much extra text: ’ this links to

Hope this helps.

1 Like

The instructions: “Create an a element that links to…”

What you have:
href=" "

They are not the same url. should be http not https


When you input the link you put a space before the end appostrophe. remove the space and the link works. ex. href=" "> is how you input it. I simply copied it and removed the space and it worked.

Thank you so much!:blush::blush::grinning::innocent:

1 Like