How do I nest the text input in the form Element at the end of my code

How do I nest the text input in the form Element at the end of my code
0

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img srpc="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="/submit-cat-photo"placeholder="Cat photo URL"input="text input">
</form>

</main>

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Mobile/15E148 Safari/604.1.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/create-a-form-element/

Hey Sucex2014 check out this line of code.
I didn’t gave you the full answer.
Try to find out where is this code is going. :slight_smile:

  <form action="/submit-cat-photo">
  <[x] type="text" placeholder="cat photo URL">
  </form>