Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Can’t seem to get this one right, no matter what I tried. My code looks like:

  **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 <a href="https://freecatphotoapp.com">cat photos</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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

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

Link to the challenge:

You didn’t close the a element and the only text inside the a element should be cat photos the rest of the text should be the p text.


Example:

<p>Visit the freeCodeCamp forum.</p>
<a href="https://forum.freecodecamp.org/">freeCodeCamp forum</a>

Becomes:

<p>Visit the <a href="https://forum.freecodecamp.org/">freeCodeCamp forum</a>.</p>

Outputs:

Visit the freeCodeCamp forum.

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