Learn Html by building a cat photo app-step 14

<a ="https://freecatphotoapp.com "</a><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

I’m missing something on this code if someone know this please help!

<a ="https://freecatphotoapp.com "</a><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

It is best to use the Ask For Help button.

Your anchor element does not have the img element inside (between the opening and closing tags).

Also, this is not a valid opening anchor element tag:

I’ve edited your post for readability. 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 (').

there is no href attribute in your anchor element (a). your code is missing > after <a ="https://freecatphotoapp.com “. you should also surround the img element by using the anchor element like this <img src=”>

  <a href="https://freecatphotoapp.com “>

<img src="https://cdn.freecodecamp.org/

curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

I still can’t figure it out.

add the anchor closing tag

I’ve edited your post for readability. 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 (').

Tell us what’s happening:
I still can’t run and pass this stop i. if someone does please help

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
  <a href="https://freecatphotoapp.com “> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  </main>
</body>
</html>
  **Your browser information:**

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

Challenge: Learn HTML by Building a Cat Photo App - Step 14

Link to the challenge:

add the anchor closing tag </a>

where should I place on it. is it at the end of line 8 or at the at the end of anchor tag

You need to put the closing anchor tag after the img element.

at the end of line 8.

thank you this was helpful I got it.

1 Like

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