Help ! i'm suffering this part someone pls guide me

Tell us what’s happening:
I try myself but i can pass this level, then I watch your video but it said the same thing
// running tests Your text input element should be nested within a

form

element. // tests completed

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>

<form action="/submit-cat-photo"></form>
</main>

<input type="text" placeholder="cat photo URL">


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Welcome to the forums!

The <input> element needs to be nested inside the <form> element.

<parent element>
  <nested element>
</parent element>

The videos are helpful, but you should always carefully read the written challenge description to make sure that you are fully meeting the requirements of the challenge.

1 Like

Thx Jeremy for your help

1 Like