Learn HTML by Building a Cat Photo App - Step 10

Tell us what’s happening:

Hi I am new an looking for help please. I keep getting two error messages one saying i have an issue with the URL or the <a> should be below <p> im a little confused thank you in advance for this

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/125.0.0.0 Safari/537.36 Edg/125.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 10

hi and welcome to the forum.

this line works for me. Perhaps you can click the reset button and write this line again to see if it will work.

Ive been at this line for like 45mins lol its defo challenging. i done that again but keeps saying - Your anchor (a ) element should be below the p element. You have them in the wrong order. this error message

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

1 Like

Hi dude

This step is tell you to convert your text cat photos into a link
by wrapping it in href

hope you understand!!

Thank you for answering me. I moved web browser and it is working now thank goodness :slight_smile:

1 Like