Learn HTML by Building a Cat Photo App - Step 12

correction to “

cat photosSee more cat photos in our gallery.

” please

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

<!-- User Editable Region -->

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

Welcome to the community!

It appears there is a bit of misunderstanding of the directions.

< p>To turn < a href=“some url”>the cat photos into< /a> a link, it is important to do so with the words remaining inside the p element, as I have done in this example and guidance. < /p>

Note how the anchor touches the words I wished to turn into a link on both sides without any spaces.

Suggestion: Reset the step to clear any current code, which may cause issues.
Place the anchor with the correct href and value around the words cat photos while not changing anything else.

You are doing good!

Happy coding! :slight_smile:

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