Help with form element please

Tell us what’s happening:
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.

  **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 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15.

Challenge: Create a Form Element

Link to the challenge:

can I have some help with this.

Your input is not nested in a form as in the example provided!

<form ...........> ..................... </form>

so i just nest a form element at the bottom

Your input element is not nested inside the form element so

  1. Create a form element just below your ol with opening and closing tags
  • Note: Don’t create your form element inside your list (or) ol element
  1. Nest your input element within the form element

but wear is the form element

You should create it like this:

<form> </form>

with an action attribute with the link given

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