Learn HTML by Building a Cat Photo App - Step 10

HELP WITH STEP 10

It’s telling me to put the anchor (a) element below the paragraph (p) element when it’s already below it, ive watched a ton of youtube videos and gone through forums and ive done everything, they have all done the exact same thing i have done word for word but for some reason mine comes out wrong

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 cat photos in our gallery.</p>
      <a href="https://freecatphotoapp.com"></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 10

Ya, your code looks good to me. Are you using any browser extensions that modify the look of the page, such as a dark mode extension? If so, you may have to disable them as they can sometimes confuse the tests. Or you can use a different “clean” browser that doesn’t have any extensions installed.

no i have no browser extensions

Can you try a different browser? Also, please paste the hint you are getting. It might help us determine which test is failing for you.

Your anchor (a ) element should be below the p element. You have them in the wrong order.

This is the hint i am getting

if i click the hint button again i get this

Your anchor (a ) element should link to https://freecatphotoapp.com . You have either omitted the URL or have a typo.

I don’t have an answer for you other than try a different browser. One thing that might help is to tell us what OS and what browser/version you are using. It is sometimes hard to tell from the user agent information above.

Hi there, your code looks good. Have you tried cleaning your device cookies, resetting the assignment, and redoing the work?

1 Like