Step 36: I accessed the forum for previous answers and did as they said but I still get stuck

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

Below is my code and I still get an error

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

Your form element should have no content. Remove any HTML elements or text between the form element’s tags.

I think there’s a contradiction

You added an action element instead of an action attribute.

Look at how you added other attributes to elements, such as the src attribute on the img element. That’s what you want to do for the action attribute on the form element.

I think I tried and still…
<form> <form action="https://freecatphotoapp.com/submit-cat-photo"></form action> </form>

You don’t need the extra form tags. There should only be one form element.

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

Your form element should have no content. Remove any HTML elements or text between the form element’s tags

when I use the <form action=“URL” it states otherwise.

Now you are back to adding an action element instead of an action attribute.

The original HTML for the form is:

<form>
</form>

There are two tags here, an opening <form> tag and a closing </form> tag. That is all you need for the form. Do not add any more tags. You just want to add the action attribute to the form, which means adding it to the opening <form> tag.

the action attribute is part of your form element. you do not need two or four form tags you just need one with the attributes inside

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