# Form action not working

**URL:** <https://forum.freecodecamp.org/t/form-action-not-working/468619>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [July 9, 2021, 11:43pm UTC](https://forum.freecodecamp.org/t/form-action-not-working/468619 "2021-07-09T23:43:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Learner94](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/learner94/32/182630_2.png) [@Learner94](https://forum.freecodecamp.org/u/Learner94)\
**Post date:** [July 9, 2021, 11:43pm UTC](https://forum.freecodecamp.org/t/form-action-not-working/468619/1 "2021-07-09T23:43:50Z")

</div>

Why is my action not working?

 ![Screenshot_20210710-004229_Chrome](https://global.discourse-cdn.com/freecodecamp/original/3X/3/c/3c5f7605a663f5c47345e9f2d4777086933f5a13.jpeg)

```
  **Your code so far**

```

```html

<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<form action="https://www.freecatphotoapp.com/>submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
</main>

```

```
  **Your browser information:**

```

User Agent is: `Mozilla/5.0 (Linux; Android 11; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36`

**Challenge:** Create a Form Element

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/create-a-form-element)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![skaparate](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/skaparate/32/125896_2.png) [@skaparate](https://forum.freecodecamp.org/u/skaparate)\
**Post date:** [July 9, 2021, 11:47pm UTC](https://forum.freecodecamp.org/t/form-action-not-working/468619/2 "2021-07-09T23:47:05Z")

</div>

Hello!

You just have a typo: you added a `\>’ inside the URL, which makes it invalid.

**Your URL** : `https://www.freecatphotoapp.com/>submit-cat-photo`  
**Expected** : `https://www.freecatphotoapp.com/submit-cat-photo`

---

<div class="post-metadata">

**Author:** ![Learner94](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/learner94/32/182630_2.png) [@Learner94](https://forum.freecodecamp.org/u/Learner94)\
**Post date:** [July 10, 2021, 7:57am UTC](https://forum.freecodecamp.org/t/form-action-not-working/468619/3 "2021-07-10T07:57:44Z")

</div>

I have no idea how that got there when I copy pasted it 🥲 How frustrating. Thanks for the help. I went to bed I was getting so annoyed 😅

---

<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:** [January 8, 2022, 7:57pm UTC](https://forum.freecodecamp.org/t/form-action-not-working/468619/4 "2022-01-08T19:57:50Z")

</div>

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