Help :0 (15 characters lol)

Tell us what’s happening:

What do I do for the input element?

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 action="/submit-cat-photo"
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15.

Challenge: Create a Form Element

Link to the challenge:

Hi, it says input must be nested in form element.
< form >
< input >
< / form >

Consider form tag as a container for input elements just like <div>.
Inside the form you can specify what fields of input do you want.

So you can use a <input>,<textarea><select> and some othe tags inside it

Exactly. I just fixed it :slight_smile:

Thanks! I just got it fixed. I had to nest it in-between (my mistake lol) but thanks. :slight_smile: This might be helpful in the future.