I don't Know How To Nest Form Element With 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">
</main>

Your browser information:

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

Challenge: Create a Form Element

Link to the challenge:

1 Like

The term “nest” was introduced and explained in this lesson:

1 Like

I think you have to put your tag inside of the form, like this:
<form>
<yourTag ⁄>
</form>

I think you haven´t used the element.

When you write that element, visually you see only “yourTag”. The “form” element is not showed by default.
As this box we are writing in interprets the code as html, it didn’t show in my first writing. I had to edit.

Hello @Omar_Bazooka. Welcome!
The challenge tells you to create a form element and nest the input element inside it.

  1. Create a form element and add an action attribute to it. Give the action attribute the value of https://freecatphotoapp.com/submit-cat-photo.
  2. Now you need to nest the existing input element inside the form element. If you don’t understand this, please check out the link @ArielLeslie provided you.

Happy Coding!