Im dumb so please help me

Tell us what’s happening:

I cant figure out how to do this one "Your form should have an action"

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>
<input type="text" placeholder="cat photo URL">
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 Edg/87.0.664.75.

Challenge: Create a Form Element

Link to the challenge:

The explanation says this:

<form action="/url-where-you-want-to-submit-form-data"></form>

Is that clear? It further says:

Nest the existing input element inside a form element and assign "https://freecatphotoapp.com/submit-cat-photo" to the action attribute of the form element.

To “nest” means to surround by. So, it is going to look something like:

<form action="/url-where-you-want-to-submit-form-data">
  <input <!-- etc... --> >
</form>

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