Help with crate text field section

Tell us what’s happening:
The information given i am not sure if it is a typo but according to the information given to crate a text input is since input elements are self closing but i keep getting it wrong. The video showed it was /> on the end which would make it not slef closing. Please explain what i am missing?

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

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; SM-N960U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36.

Challenge: Create a Text Field

Link to the challenge:

Hello,

Apparently you’re using self-closing tag for input tag. Correct way to use input is as follows:

<input type="text">
1 Like

Hey there,

if I copy and paste your code,
it works.

You should probably reset the exercise and add your code again.
Or use another browser if a reset doesn’t work.

I was just making sure i understood that self closing meant you didnt need to end it with />

Since the video on the exercise said to put /> but yet for input elements they are supposed to be self closing correct?

Yes i know, i put > but said it was wrong then i watch the video on the exercise for help an he put /> so i did an then run the test an it said correct for some reason.