Action attribute problem

Tell us what’s happening:
i cannot figure out what i have done wrong when it says “Your form should have an action attribute which is set to /submit-cat-photo” CHECK MY CODE OUT PLZ …bottom

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="/sumbit-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_12_1) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14.

Challenge: Create a Form Element

Link to the challenge:

Welcome @Log!

The instructions for the exercise say to have an action attribute that is set to “/submit-cat-photo.”

Your current code for the action attribute is this:
/sumbit-cat-photo

There’s a spelling difference between the two; fix that and the problem should resolve.

Hope that helps!

oh my god bro its 2 am i didn’t even realize i misspelled it … godbless thank you i been looking at this for a half hour lmao

1 Like