#36 ChatGPT no help!

Hi! I have reset often, reviewed forum responses, asked ChatGPT, mdn web docs, The Quackit HTML Code Library , w3.org and I still cannot add an action attribute to a form element.

This is what I have:

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


I believe the following to be true:
<form></form> is the form element and it must remain empty
there is no such thing as an <action> </action> element
syntax could be "<form action> </form action> or <formaction> </formaction> (tried both)
Prompt says need space between my opening elements so, I have moved those around.
@your convenience. TY

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 (').

Why did you add a second set of form tags?

Please provide a link to the challenge

TY. Solved.

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

Why is the form action element written like that?!

<form action>  </form >

Link to #36:


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