Help with Inserting Action Attribute into Form

hi!
i’m new to coding and i’m quite stuck on this one problem.
even though i’ve tried it so many times i can’t get the check mark for " Your form should have an action attribute which is set to https://www.freecatphotoapp.com/submit-cat-photo"
so basically it says i don’t have an action attribute. i looked at other examples to see if mine is correct, and it looks the same but i still can’t get it.
if you can help that would be great!:slight_smile:

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>
<form action="submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

submit-cat-photo is not the same as https://www.freecatphotoapp.com/submit-cat-photo.

1 Like

thanks so much! that was the right answer, i thought i did that once but maybe i just didn’t do it right!
thanks again!!

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