Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

ı tried a lot of time and ı think ı did true but it says “it’s not true” ı just want to accept it and pass the next 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>See more cat photos <a href="https://freecatphotoapp.com">cat photos<a/> in our gallery.</p>

<!-- User Editable Region -->

      <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>

Your browser information:

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Hey.
Nest the text that’s in here.

The lesson doesn’t require you to form a new “cat photos” text.

try to understand this

 < p > See more <a. href.="link"> cat photos</a.> in our gallery <p.>

You’re close, but you need to make a few more changes to your code.
I see full stops in some parts of your code, especially the anchor element and the closing paragraph tag. They’re interfering with the structure of your elements, you should get rid of them.

It would be best if you close the closing paragraph tag properly.

After you’re done with the above, it’s time to add some spacing to your code. Include a space after the text “See more” and after the closing anchor element tag. Remove any other spaces that you have in your code.

Sir, I have done this but it shows a typo error.

Sir,

 <p>See more <a herf="https://freecatphotoapp.com">cat photos</a> in our gallery.</p> is there any problem in this code.

Use the text i provided by removing those dots (.)
the forum doesn’t allow me to simply give you the code so i used dots to show you the template.

Your problem is here, it’s href

1 Like

ooh! I get it. But in the future, if you want to post your code, nest it in triple backticks. Were you able to solve the problem?

1 Like