Learn HTML by Building a Cat Photo App - Step 15

ive been strugling and searching for the bug for 30mins please welp . thanks in advance

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

<!-- User Editable Region -->

      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

      <a herf="https://freecatphotoapp.com"></a>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."
      

<!-- User Editable Region -->

    </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/121.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

btw this is the bug ‘Your anchor (a ) element should link to https://freecatphotoapp.com . You have either omitted the URL or have a typo.’

Welcome to FCC, Your <img> element should in inside your <a></a> element, something like this <a><img></a> also your img element at the end doesn’t have a >, I hope this helps if it does i would appreciate it if you could leave a like as i am new here trying to become established :smiley: Happy coding friend.

1 Like

Your anchor opening and closing tags should be around img element and also your img is missing> closing bracket.

1 Like

suree i’ll leave a like , but can u please write me the code i feel like i didnt get it yet , would love to see the right code .

can you write me the code please , i get you but i dont at the same time

For the rule of learning on freecodecamp, I can’t give actual code. You need to solve your challenge yourself.

Example

<element attribute="value"><img src="value"></element>
1 Like

Hello mate, were not allowed to give straight answers because your not learning but i can try to assist further, Now taking a closer look your <a> Element has a attribute href="" you have spelt it herf which is incorrect. Also this

Your <img> element should in inside your <a></a> element, something like this <a><img></a> also your img element at the end doesn’t have a > , I hope this helps, let me know if you need further instructions also if you get lost hit reset try again with the correct spelling.

1 Like

OHH GODD , IT WAS THE MISSPELT WORDD THE WHOLE TIMEEE , THANK YOU SO MUCH

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