Hiw to add form element

Hiw to add form element
0

…please can someone tell me what im doing wrong

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">
<form>
<input type="text"
<form action="/submit-cat-photo"></form>

</main>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/71.0.3578.141 Safari/534.24 XiaoMi/MiuiBrowser/11.4.3-g.

Challenge: Create a Form Element

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

You deleted part of the input tag above your form.

ok let me check it out

you deleted a part of the given code you can reset the code and try to do the same again

Tell us what’s happening:

…i checked still not working same problem

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 nipu</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">
<form>
<input type="text"
<form action="/submit-cat-photo"></form>

</main>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/71.0.3578.141 Safari/534.24 XiaoMi/MiuiBrowser/11.4.3-g.

Challenge: Create a Form Element

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

this is the code they gave you and you change the form tag which is wrong

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

this is your code and you can see the change

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

Please do not create multiple topics for the same question. I have merged your topics.