Help with form element please

Tell us what’s happening:
Nest the existing input element inside a form element and assign "" to the action attribute of the form element.

  **Your code so far**

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
  <li>cat nip</li>
  <li>laser pointers</li>
<p>Top 3 things cats hate:</p>
  <li>flea treatment</li>
  <li>other cats</li>
<input type="text" placeholder="cat photo URL">
  **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.