Learn HTML by Building a Cat Photo App - Step 12

Hello!

Please help me, ‘Learn HTML by Building a Cat Photo App’, Step 12.

If I write

Click here to view more cat photos.

, the site gives an error ‘The link’s text should be “cat photos”. You have either omitted the text or have a typo.’

But if I write ‘cat photos’ instead of ‘Click here to view more cat photos.’ -

cat photos

Hint:
After nesting the anchor (a) element, the only p element content visible in the browser should be “Click here to view more cat photos”. Double check the text, spacing, or punctuation of both the p and nested anchor element.

I don’t understand, how can I put both massages at the same time?

I also tried

Click here to view more cat photos. cat photos

‘Click here to view more cat photos.’ is inside p element, ‘cat photos’ is inside a element, but the problem occures anyway…

‘After nesting the anchor (a) element, the only p element content visible in the browser should be Click here to view more cat photos. Double check the text, spacing, or punctuation of both the p and nested anchor element.’

What do I do wrong? Help!

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

Your browser information:

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

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

Link to the challenge:

I have written a post to help people with this step.

Take a look

5 Likes

thank you for the help, this was a little difficult.

1 Like

HI i didn’t move forward from step 12 why with me

If you have a question about a specific challenge as it relates to your written code for that challenge, and you’ve tried to solve it at least 3 times so far and still need some help, just click the Ask for Help button located on the challenge (it looks like a question mark).
This button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like

here is the solution for this:

See more cat photos in our gallery.

just add anchor tag between see more and cat photos in a sentence .

thats it.

1 Like

do what? 104 what? so i tried adding the 104 you show and it is still wrong