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

Tell us what’s happening:

Please help…
Your

form

should have an

action

attribute which is set to

https://freecatphotoapp.com/submit-cat-photo

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="htpps://freecatphotoapp.com/submit-cat-photo">  <input type="text" placeholder="cat photo URL" </form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 14_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Safari/604.1.

Challenge: Create a Form Element

Link to the challenge:

1 Like

Hey @shannon.maybeth!
Your input element does’nt have a > at the end! Add one and you will pass.

Happy Non-Stuck Coding!

1 Like

You forgot to close the input tag

1 Like

Sorry where should o close it? At the end of URL”?

1 Like

Yes that’s where you need to close it.


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

I have tried this still no luck :(
1 Like

Maybe this is a problem with your browser extensions. Sometimes, browser extensions or ad blockers clash with FCC’s challenges. Try disabling some.

Hey @shannon.maybeth! Found the problem! The link you set in the action attribute starts with htpps: and not https:! Check carefully:

1 Like