Learn HTML by Building a Cat Photo App - Step 12

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. here is the response I received despite nesting the <a element in the <p element

Your code so far

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

<!-- User Editable Region -->

      <p> click here to view more
       <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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15

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

Link to the challenge:

The contents of your p element are not correct. There is no need to adjust the contents of that element. If you reset the exercise, it shows a different sentence. That is the sentence you should use.

thanks for helping, after I changed the content of my p element back the way it was , this is the response I recieved … 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.

Hello, is there any problem with your code?

thanks for helping, after nesting the <a element in the p element this is the response I am receiving … 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.

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

This is what you have on the page right? Yes.
Now make cate photos in the p element a link by enclosing it with an anchor element.

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