Nesting input element in form

Hi everyone!
I have an issue with this challenge Nest an input element in the form element.

can anyone tell me what is from with my nesting? I’ve tried various options, like adding a placeholder to the input element, etc. but it never recognizes that I nested the input element. Or did I not?

Every help is appreciated!!!

 <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>

<form action="link">
<input>Submit cat photo 


Challenge: Create a Form Element

I’ve edited your post for readability. When you enter a code block into a forum post, please 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 (’).

I have edited your post to include the challenge link.
In the future, please use the ask for help button.

1 Like

Hi @lfpettinari !

Welcome to the forum!

There are a few issues here so it would be best to reset the lesson.

Here are the first part of the instructions:
Nest the existing input element inside a form element

This is incorrect

When you reset the lesson you will see that the existing input is this

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

Wrap your form tags around that.
Do not edit the input.

Here are the second part of the instructions:
assign "" to the action attribute

This is incorrect

You need to use the appropriate link in there that I just pointed out to you in the instructions.

Hope that helps!

1 Like

Thank you very much!!

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