Basic html and html5 form action help

Let me try a different approach and just start over.

How do you nest an element within another element?

@brihill15 you got an extra (or unnecessary form tag) in your code. A form within a form.

<input type=Text<>form action =“submit- cat- photo < </form

That’s worse @roddylew.

Instruction in the question gives you a structure refer to it,

For example:

<form action="/url-where-you-want-to-submit-form-data"></form>

Now you have to put your <input> within the <form>here</form>

Your input should be in your form element…

<form method="submit>
  <input type="text" id="fname" name="fname" >
</form>

did you solve it?
i having the same problem now, it keeps saying “Make sure your form has an action attribute which is set to /submit-cat-photo” …
i have check w3school, solo learn and freecodecamp…it didn’t help at all

i found the answer, you have to put form action before the input type...