Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Hello Everyone… i need help to pass step 12

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos   href="https://freecatphotoapp.com"</p>
      <a href="https://freecatphotoapp.com">cat photos</a>
      <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>
```

They want you to use your knowledge of anchor elements to turn the last two words here into a link.

The anchor element was discussed in step 10 and 11 so you may need to look back there to learn how to do this.

Hello thank you for the guide. i done tried, i’m still having the same issues, it’s complicated

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p  <a href="Click here to view more"> cat photos</a>.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      <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>

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

the href attribute is incorrect. You should give href a value equal to the URL of the link (check the exercise as they told you what it should be).

I would reset this step and try again.

Hello…

what is a target attribute ?
i’m finding it hard to pass level 14

Please create a new topic for this. Target attribute is just like href attribute but the value is “_blank”

Mark this topic solved please also.

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