Nest the existing input element inside a form element and assign

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
  <li>cat nip</li>
  <li>laser pointers</li>
<p>Top 3 things cats hate:</p>
  <li>flea treatment</li>
  <li>other cats</li>
<input type="text" placeholder="cat photo URL">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36 OPR/75.0.3969.218

Challenge: Create a Form Element

Link to the challenge:


Can you explain your problem? so we can help you

do i nest only the input text

yes, you should only nest the input element that is on the code

like please give me a hint some light will do

You have an input element on the code, you should nest that input element inside your form element like you have on the example on the side.

You also should assign it to the specified link using the action attribute.

so i shouldnt add the form

yes, you should add it.

Nesting means putting and element inside another element.
You already have an input element in the code and you should nest it inside a form element.

So you need to add a form element with an action attribute and the input element that I told on the previous image should be inside it. (Solution)

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

Your action attribute should link to the provided link:

my good sir thanks so much for the help though i never understood

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.