Learn HTML by Building a Cat Photo App - Step 12

Am trying to do this below pasted step am unable to solve this. Please help me to achieve this ( the error is “after nesting the anchor (a ) element, the only p element content visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and nested anchor element.”)

cat photos

Your code so far

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

<!-- User Editable Region -->

   <p>
     <a href="https://freecatphotoapp.com">cat photos</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:

You deleted all of the old content from the p element. Don’t do that. Only add the opening and closing anchor tags.

I added the old content from the p element but still it throws the same error.

I would reset the code for the step and delete nothing.

yes, please reset the code for the step and let me know . I will try again

hi ,
Mod edit: code removed

@saleem.arwadi

Please dont try to give the code to pass the challenges

thanks

sorry didnt know that

1 Like

Still i didn’t get that

<p><a href="https://freecatphotoapp.com">cat photos</a></p>

Where’s all the other text that was in the p element?

Hello ,

I was in Step 56 . Please help me to fix the issue
Loving

ERROR: There should be a space between your checkbox and your new label element.

1 Like

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