Learn HTML by Building Cat Photo App Step 36

Hello everyone! I am on step 36 of the building cat photo app and I am typing this code for the form action. I believe my syntax is correct but the website is saying my code cannot pass for some reason. Would anyone be able to shed some light on why my code is incorrect?

<form> 
         <form action="https://freecatphotoapp.com/submit-cat-photo">
         </form>

Please post the link to the step when asking a question.

Why do you have two opening form tags?

Here is the link to the step. I apologize for not posting it earlier.

This is the same place I got stuck.

This is the task given to us

Step 36

The action attribute indicates where form data should be sent. For example, <form action="/submit-url"></form> tells the browser that the form data should be sent to the path /submit-url.

Add an action attribute with the value https://freecatphotoapp.com/submit-cat-photo to the form element.

please can anyone help

I’ve responded to you in your thread.

Hey guys I had same problem and was stuck on it for ages but then I removed the form tags above and below the form action attribute and it worked. Hope this helps.

remove attribute

The tutorial seems to create two , with one being up in the top section of existing code. Then the validation finds two, but there is only one in the editing section.

It seems to be behaving differently than the other lessons.

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