Html form action and nesting

Tell us what’s happening:
it says “Nest your text field inside a form element, and add the action=”/submit-cat-photo" attribute to the form element." but I’m finding it difficult to do… plz help me with it…
Id be very much pleased,

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"></form>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:

  • List item

Basically we need to nest the input tag inside the form tag
so you need to put a form tag as after ol

<form action="/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">

please carefully read the challenge question then react.
Happy to help you.

1 Like

thanks! couldn’t get through without your help, didn’t know need to put form action on above input type.!!