FORM ELEMENT nesting

Tell us what’s happening:

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Hello @kin917, please don’t use caps for the title.
Your input tag should be inside the form tag, and your tag should contain a link as the lesson said.

Hi @kin917 :smiley:
nesting simply means putting an element within another element
For example:

<div>
<p>Hi i'm gose</p>
</div>

The p element above has been nested inside a div element

So generally your input element should be within (nested) your form element

we will be able to help you better if you can say the what does problem says

The link of the challenge is mentioned below
It is:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/create-a-form-element

From your code above ,
You haven’t used form element to prepare a form.
You haven’t nested your input in your form too.

Like this:

<form action=“the action link here”>
<input>
</form>

Hope this helps.

Out of goodwill:
Before asking a question you should take some time to think of your mistakes. Otherwise it will become a habit to ask others which may hinder your future .

Don’t mind me but do you motivational talk? :see_no_evil: :hear_no_evil:

noted on this ahmad thx

ameenarab5, noted on this thx.

gose, thank you for this

You are welcome :grinning:

Haha! Nope , but I’ve faced this problem before, hence I thought it will be good to remind others.