Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
unable to nest the anchor element into the p element

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <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>
     
    <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; rv:103.0) Gecko/20100101 Firefox/103.0

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

Link to the challenge:

Your code is correct only the problem is with the text
Your preview should look like the below picture
Right now you have double words of cat photos
So you need to delete cat photos word on the p element
1

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