Struggling to finalize my code for STEP 31 HTML project

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!


When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

type or paste code here
<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
        <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
      </section>
      <section>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>
        <ul>
          <li>catnip</li>
          <li>laser pointers</li>
          <li>lasagna</li>
        </ul>
        <figure>
          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
          <figcaption>Cats <em>love</em> lasagna.</figcaption>  
        </figure>
        <h3>Top 3 things cats hate:</h3>
        <ol>
          <li>flea treatment</li>
          <li>thunder</li>
          <li>other cats</li>
        </ol>
        <!--Comment text> 
        
        <figure>

          <a> href="https://freecodecamp.org"</a> 

        <a> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/
         jpg"alt="Agroup of cats"></a>

          </figure> 
      </section>
    </main>
  </body>
</html>

sorry I need to work on my spacing yes as I am new to this but I will do better next time as above is my code but I am now lost as the system is saying the below:
Your second figure element should have an opening tag. Opening tags have this syntax: <elementName> .

why don’t you use the HELP button? you make life easier to you asking for help and for everyone else trying to help you…

anyway, please share the link to the step

without the link I don’t know what the tests want, but I can point out wrong syntax

this is not how you write a comment, this is how you write a comment: <!-- comment -->

attribute go in the opening tag

you should not fo to a new line in the middle of an attribute value, I doubt that gives an image

Thanks let me give it another try, no I am aware that is not how you write a comment, that was out of desperation just trying it as my previous code in there was not working