Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

Herf value or typo in my code

Your code so far

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

<!-- User Editable Region -->

      <p>See more <a>"cat photos"</a>in our gallery.</p>
      <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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

You don’t need the second line at all.
The href attribute goes in the opening anchor tag, and the link text (cat photos) goes between the opening and closing tags.
Also, no need for quotation marks around the link text.

If you’re having trouble understanding the syntax, it may be a good idea to study first, then apply your knowledge to the project.
I went through the tutorial on w3schools first, super simple and beginner-friendly. Now I’m working on projects here and everything makes sense because I had a good base to start with.
It doesn’t have too be w3 - tutorials on mdn, videos here or on yt, whatever works for you.
The whole process is gonna take a bit longer but the end result is way better if you use multiple resources.

1 Like

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