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!!!
Thanks,
L

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

 <a href="#"><img src="https://www.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>


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

</main>

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 "https://www.freecatphotoapp.com/submit-cat-photo" 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.