Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

I cant see what seems to be the problem…when i click “check code” it says:

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.

My code so far:

See more cat photos in our gallery

link to cat pictures

My code so far:

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

Welcome to the community!
Could you please post the complete code so the community can see if the issue is outside of the current coding area?
Thank you!

Happy coding! :slight_smile:

1 Like

Welcome to the comunity :smiley:

if you try a step three times, a help button will appear:
image
Clicking it will create a post with all your code so far, a link to the step your on and can be edited before posting to add your question or problem.

you seem to have altered the closing paragraph tag during editing.

tag pair example:
<p></p>
self closing tag example:
<input/>

1 Like

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>

<!-- User Editable Region -->

      <!-- TODO: Add link to cat photos -->
      <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.<p/>
      <a href="https://freecatphotoapp.com">link to cat pictures</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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

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

Link to the challenge:

This doesnt look right

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