Help with HTML step 35

Hello, I do not understand what I am doing wrong with the code. The instructions say to add an action attribute to the form element. However, when I do so, it says the form element does not have an action attribute. Can someone explain this to me? Thank you.
Here is a part of my code below;

<section>
  <h2>Cat Form</h2>
 <form>
  </form>
  <form action="https://freecatphotoapp.com/submit-cat-photo">
  </form action>
</section>
I have also tried this ;
 <form>
          <form action="https://freecatphotoapp.com/submit-cat-photo"></form action>
        </form>



**Challenge:**  Step 35
**Link to the challenge:**
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-35

First of all, you have too many forms. Each <form></form> pair is its own form. So, looking at your first example, the:

 <form>
  </form>

is just an empty form that shouldn’t be there. Remove it.

Then, you end with </form action>. That “action” shouldn’t be there - closing tags don’t have attributes, all of that is taken care of in the opening tag.

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