Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
i’m lost… i don’t know what i’m missing
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 href="https://freecatphotoapp.com"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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

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

Link to the challenge:

Hello there and welcome to the forum!

Many campers struggle with this step but you’re pretty close to getting it. All you need to check is that your HTML tags all have < and > and that closing tags always take the form </element>.

1 Like

alright i amended the elements but its didn’t seem to change the outcome tried other ways but everything comes out wrong

Can you share the line of amended code please?

It’s better if you can share your code rather than a screenshot but it looks from that like you’ve closed off your opening a tag twice and also moved your closing a tag to an incorrect position.

Here’s an example of how to turn text into a link:

<!-- text without link -->
<p>Please visit my website for awesome content</p>

<!-- 'my website' turned into a link -->
<p>Please visit <a href="example.com">my website</a> for awesome content</p>

<a href=“”/>A’s link should be written like this, not < a > href < / a >
Below is the correct writing.
Mod edit: removed solution

I removed the solution from your post. Please do not post solutions to pass the challenges.

Thanks

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