After this how should i creat a from element

After this how should i creat a from element
0

#1

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 src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
  <form action="/submit-cat-photo"></form>


  <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 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

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


#2

The <input> element should be between the <form> tags


#3

can u give me a example to understand


#4

Syntax should be in this manner:

<form>
...Your input tag here...
</form>

#5

i have already done this but
Make sure your form element has well-formed open and close tags what should i do for this


#6

Can you post your current code ?


#7

Your tags should be written this way:

<form>
<input type='text' />
</form>