Link to External Pages with Anchor Elements 2

Tell us what’s happening:

I’m struggling to create the " a " element that links to

Your code so far

<a href=""> "cat photos"this links to "cat photos"</a>
<a >herf=https://freecatphotoapp<wbr>.com"> this links to</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>
<!-- create an element that links to and has "cat photos" as its anchor text. -->

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; SM-N960U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36.

Link to the challenge:

The instructions:

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

You have

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

This is an a element that links to and has "“catphotos"thislinksto “cat photos”” as its anchor text. (Both the link and the text are wrong)

And you have

<a >herf=https://freecatphotoapp<wbr>.com"> this links to</a>


  • doesn’t have an href attribute in the a element
  • has the wrong link
  • has a random <wbr> in it?
  • has the wrong anchor text (“herf=”> this links to")

I have that because I thought I tried everything under the sun. When I posted this help chat some some lines got altered. I tried the original “cat photos” I thought this was all that was need. It was also in the video provided.

You shouldn’t have any "s in your anchor text.

I can’t see what your code is in that screenshot. Please include your solution (put it between ` characters to keep it formatted as text).

I’ve seen the repeating freecatphoto even if change it to just one, it still won’t work.

I can’t help you if I can’t see your code.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it readable.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.


Appreciate the help by the way​:pray::pray:

<.a href="> “cat photos” this links to </.a>
I threw a dot in front of the a to see if it would appear. But this was my code, it said that is all that was required. I got 2 check marks just that final check is killing me.

  • The link (you set this by setting the href attribute) should be You have something different. It must match EXACTLY.
  • The anchor text (this is everything in between the opening and closing a tags) should be “cat photos”. You have something very different.
    • You should not have quotes (") around the anchor text. That is in the instructions to denote what the expected text is.
    • There should not be any spaces before or after the anchor text inside the a element.
    • None of that other text should be in there at all.

I’ll will take out the extra and see what happens.

<.a href=“”>cat photos</.a>
This is what I have currently with out the dots, though it still will not accept.

The link must match exactly.

" <a " so this is the a element. “Cat photos” is the anchor. The “http” is the link. Is this all that is required to complete the task that I have? So the href attribute is what creates the link? I am confident that I have it matching as of now, but it still says “I need to link it to the http.”

I finally completed it, thank you for your help!!!

Good job! Happy coding.