Learn HTML by building a catphoto app #step 36

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 help ive been stuck for 2 days.

Please post the code you have attempted and a link to the Step. Thanks

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

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

You have a form inside of a form inside of a form?

You should only have one form element.

You should create zero new elements here. Only add the action attribute to the form element you already have.

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