Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

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

<!-- User Editable Region -->

      
   
      <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 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0

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

Link to the challenge:

HI @code1.11 !

Welcome to the forum!

The goal of the lesson to learn how to nest links inside paragraphs elements.
This should be end result in the preview window.
Screen Shot 2023-08-05 at 6.17.20 PM

the words cat photos needs to the link.
I would suggest resetting the code and trying again.

1 Like

You want the words ‘cat photos’ in you paragraph to link to the web page: https://freecatphotoapp.com. To do this you should place an anchor tag linking to this page right before the word cat and an closing tag right after ‘photos’ which would turn ‘cat photos’ into a link. Make sure to use ‘href’ to link the page to your site.

2 Likes

I’m trying but still failed po

12 posts were split to a new topic: Learn HTML by Building a Cat Photo App - Step 12

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