Learn HTML by Building a Cat Photo App - Step 12

what’s wrong with my code? im 100% confuse rn
Describe your issue in detail here.

Your code so far

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

<!-- User Editable Region -->

      <p>See more <a href="https://freecatphotoapp.com"> cat photos</a/p> in our gallery.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a/p>

<!-- User Editable Region -->

      <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/116.0.0.0 Safari/537.36

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

Link to the challenge:

Please talks to usa about what error message you see and what you’ve tried to fix it.

This is not a valid HTML tag.

take a look at the closing tags for your ‘a’ and ‘p’ elements. Compare them to your ‘h1’ element above


look at this, whats wrong in my code?

Please post your actual code instead of a screenshot. Thanks

You should not make any changes to any of the p tags.

how can i post my code? i just started this evening

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:
Describe your issue in detail here.

Your code so far

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

<!-- User Editable Region -->

      <p>See more cat photos in our gallery.</p>
      <a href="https://freecatphotoapp.com">cat photos</a>

<!-- User Editable Region -->

      <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/116.0.0.0 Safari/537.36

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

Link to the challenge:
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-12`Preformatted text`

Where did your new p tags go?

<p><a>See more <a href="https://freecatphotoapp.com">cat photos</a> our gallery</p>
<p><a href="https://freecatphotoapp.com">link to cat pictures</a></p>

is this wrong? im stuck in step 12 maybe 2hrs?

You need to make zero changes other than adding the a tags.

You removed the .

im at step 14, i just misunderstood the challenge sorry for the disturbance

If you are on a different step, you should use the Ask for Help button on that step to make a new post.

1 Like

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