Nest the existing input element inside a form element and assign "" to the action attribute of the form element.

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; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Hi @Roshan1 !

Welcome to the forum!

It looks like you haven’t started the problem yet.

This is the existing input

Do not change that input.

Your task is to nest that input inside form tags.

Here is how to nest an input inside form tags.

<form action="/url-where-you-want-to-submit-form-data">
  <existing input goes here>

Once you do that take the url they gave you in the lesson "" and assign that to the action attribute like you see in the code above.

Hope that makes sense!

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