<form action="/sumbit-cat-photo"> <input type="text" placeholder="cat photo URL" </form>

Tell us what’s happening:

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://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 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

What ur problem
Sir
Explain

i dont think i have a problem but when i run the test it keep telling me Your form should have an action attribute which is set to https://freecatphotoapp.com/submit-cat-photo and i dont know what to do at this point.

Value of action attribute is not correct in your code. It should be action="https://freecatphotoapp.com/submit-cat-photo".

<form action="https://freecatphotoapp.com/submit-cat-photo">
    <input type="text" placeholder="cat photo URL">
</form>
1 Like

thank u thank u very much i was stuck in this challenge for a long time and i even thought about quitting 10q. u dont know how much u help me.

1 Like

I’m glad I could help you :heart:

1 Like