Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

I guess it’s a bad day in the office lol. Spot the errors on this code.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>Everyone loves cute cats online!</p>
      <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a></p> 
</a>

<!-- User Editable Region -->

      <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
      <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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-14`Preformatted text`

Hi there!
You have leaved the existing paragraph that have cute cats words in it and created a separate anchor element and text.

1 Like

I’d like an example for the solution.

Example

<p>Some words <a href="link">link words</a> some more wrods</p>

Um like this?

Everyone loves cute cats online! cute cats

`Preformatted text`

no, see that you have the words “cute cats” two times? you should not add the words again, use the words already in the sentece

also, again, please use backticks to format your code

1 Like

I’m lost everything looks ok to me,

Everyone loves cute cats

Preformatted text

Three backticks on their own line, then your code, then again three backticks on their own line, like this:

```
your code here
```

The task doesn’t ask or require backticks I’ve tried however somehow I’m failing to pass the task.

the backticks are needed on the forum for you to share your code. If you need more help please share your current code using the backticks here on the forum