Learn HTML by Building a Cat Photo App - Step 17

Hi, I am having a problem in step 17, it asks me to make a new section under the previous section, but it does not detect the new section I created, or I have done something wrong.
Here you have the code, thanks in advance.

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <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>
      <section2>
        
      </section2>
    </main>
  </body>
</html>

I’ve edited your code for readability. 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 (').

The tag name section2 is invalid.
To create a section element just write the word section without the number 2

sorry about the readability issue and thanks for helping me!

1 Like

no problem at all. You will find it is easier to click on the ask for help button if you run into problems in a future step as it will create a template for you with the code and a link to the step. The template allows you to ask a question as well and then post here.