Trouble passing

*have put the code in but doesn’t seem to want to pass me:

  **Your code so far**


<img src="" alt="A cute orange cat lying on its back.">
<a>href="">cat photos</a>

<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: Mozilla/5.0 (Linux; Android 11; SM-A125F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

You’ll have to reset the lesson.

What you changed was the src attribute in the img element.

You were tasked with creating an a element that links to and has “cat photos” as its anchor text.

The lesson gives an example of an a element.

There is space above the img element for you to place the a element that you are to create.

I done that but still doesn’t want to pass me. Just keeps say you need an a element that links to

We need to see your updated 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 easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

My apologies. I read your initial post incorrectly.

You have the following

The lesson shows the correct way to format an a element

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

Do you notice in yours there is an > right after the the opening <a
When I remove that and have a space between <a and href.... the test passes successfully.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.