Create a form Element task

** plz i need to know how to …
Nest the existing input element inside a form element and assign "" to the action attribute of the form element.

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">
<form action="cat photo url><"

Your browser information:

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

Challenge: Create a Form Element

Link to the challenge:

The form element has an opening and closing tag.


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

see my current code

but was not correct

1 Like

You have an incomplete form element. It also does not have the input element inside it.

This is what you have:

<form action="cat photo url><"

It needs to look like this (click to see):

<form action="use-the-correct-submit-cat-photo-url-here">
  <input type="text" placeholder="cat photo URL">

If you have updated your code you have to post it so we can see it.

To enter a code block into a forum post precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').


hello friend`
`let me try it again`Preformatted text```


hello friend`

let me try coding it againPreformatted text


hello Friend</p>

let me try coding the challenge again

``` ```


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

<p>not correct</p>

This is correct except for the placeholder text. It should URL (all caps), not url.

cat photo URL


I got it now</p>

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


Thanks alot
plz friends, my next challenge say add submit  button to form
and i responded with this
<button type="submit">Submit</button>

but not correct. kindly assist

please use again the “Ask for help” button to create a new thread for the different challenge