Learn HTML by Building a Cat Photo App - Step 10

Tell us what’s happening:

Please help me on how to create an anchored element?

Your code so far

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

<!-- User Editable Region -->

      <p>Everyone loves cute cats online!</p>
      <a href="https://freecatphotoapp.Com"<img src="hhttps://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"alt="A cute Orange cat lying on it's back. "></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 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 10

Look at the example code again. Make sure yours is the same. Look for any differences

Hi buddy, here why there is href element with the img element here you need to add the anchor element only there should not be a tag mixed with img element.

There should be only anchor tag when you do so then you will be able to pass this test.

Hope You Understand.

Yeah I do,

Thanks. :heart: