Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Trying to Remember how to nest an (a) element inside a

tag

Click here to view more https://feecatphotoapp.com.

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p a>Click here to view more https://feecatphotoapp.com.<a/p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      
      <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/107.0.0.0 Safari/537.36 Edg/107.0.1418.56

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

Link to the challenge:

Hello there,

<a> element kinda wraps anything to link.
The task asks you to “wrap” a particular phrase and make it a link.

an example would be like you already have done above with the “link to cat pictures”

<p> Babbiti Buppi Bla bla <a href="www.URL.com">Boom Boom </a></p>

Hope it helps :grinning:

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