# Help please with form action attribute how the code should look

**URL:** <https://forum.freecodecamp.org/t/help-please-with-form-action-attribute-how-the-code-should-look/567293>\
**Category:** Curriculum Help\
**Tags:** html, css\
**Created:** [October 29, 2022, 4:51am UTC](https://forum.freecodecamp.org/t/help-please-with-form-action-attribute-how-the-code-should-look/567293 "2022-10-29T04:51:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johanna.lindholm.aus](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/johanna.lindholm.aus/32/239789_2.png) [@johanna.lindholm.aus](https://forum.freecodecamp.org/u/johanna.lindholm.aus)\
**Post date:** [October 29, 2022, 4:51am UTC](https://forum.freecodecamp.org/t/help-please-with-form-action-attribute-how-the-code-should-look/567293/1 "2022-10-29T04:51:59Z")

</div>

Hi, I am trying to get solve step 36 in Responsive Web Design. It asks me to add an action to the form, to where the form should be submitted. I don’t seem to get this step right. Tried below for example

OR

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

```

---

<div class="post-metadata">

**Author:** ![hbar1st](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hbar1st/32/372649_2.png) [@hbar1st](https://forum.freecodecamp.org/u/hbar1st)\
**Post date:** [October 29, 2022, 7:15am UTC](https://forum.freecodecamp.org/t/help-please-with-form-action-attribute-how-the-code-should-look/567293/2 "2022-10-29T07:15:51Z")

</div>

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.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (').

---

<div class="post-metadata">

**Author:** ![hbar1st](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hbar1st/32/372649_2.png) [@hbar1st](https://forum.freecodecamp.org/u/hbar1st)\
**Post date:** [October 29, 2022, 7:16am UTC](https://forum.freecodecamp.org/t/help-please-with-form-action-attribute-how-the-code-should-look/567293/3 "2022-10-29T07:16:24Z")

</div>

you have two form opening tags instead of just the one that you need.  
delete the extra one

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [October 27, 2023, 2:19am UTC](https://forum.freecodecamp.org/t/help-please-with-form-action-attribute-how-the-code-should-look/567293/5 "2023-10-27T02:19:35Z")

</div>

Closed on October 27, 2023, 2:19am UTC

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