Your form should have an action attribute which is set to https://www.freecatphotoapp.com/submit-cat-photo

Hi I got stuck at this creating a form element part. It keeps saying “Your form should have an action attribute which is set to [Thank You message for Cat Photo App form submission| freeCodeCamp.org](https://www.freecatphotoapp.com/submit-cat-photo)”

“The existing input element should be nested within a form element.” and “Your form element should have well-formed open and close tags.” are both done correctly. It’s just the form’s action attribute that is incorrect. I can’t figure it out what is wrong at all. Any help is appreciate

  **Your code so far**

<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>
</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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

Hi I just edited it. I apologize for the confusion! I’m still new to this website lol

1 Like

The error message is telling you what’s wrong. It says
Your form should have an action attribute which is set to https://www.freecatphotoapp.com/submit-cat-photo

Your attribute is set to
/https://www.freecatphotoapp.com/submit-cat-photo
Notice the typo?

Omg thank you so much! Can’t believe I got stuck for hours because of one goddamn slash haha! :slight_smile:

u mean

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Your form should have an action attribute which is set to https://www.freecatphotoapp.com/submit-cat-photo .

@arsingh0766, please only respond to current topics.