Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.

Your code so far
I am really stuck here. It keeps saying “you should have an img element with src value” not sure what that means.

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <a href=img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."<a/>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS aarch64 15054.114.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

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

Link to the challenge:

Hello there,

Please mind that the <a> </a> element should wrap the <img> element (which is a selfclosing element).
They are both elements not attributes.
Here’s an example :slight_smile:

<a href="www.blablabla.com"><img src="best_image_ever.jpg"></a>

Now when the best_image_ever.jpg is clicked, you’ll be redirected to www.blablabla.com :smiley:

Hope it helped, have a good day !