I try nesting the existing input element but it's not working out. Please could you help? Thanks

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

  **Your code so far**

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

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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>
<input type="text" placeholder="cat photo URL">
<form action="https://www.freecatphotoapp.com/submit-cat-photo"><input type="placesholder="text">
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0

Challenge: Create a Form Element

Link to the challenge:

You didn’t finish creating your post. Please edit your post to include what you want help with.

Ariel, thanks a lot for concern.
Could you please take a look at the challenge above, you’ll observe what I’ve done.
I needed someone to tell me what to do next. Because, I don’t know what to do.
Thanks.

What have you tried? What do you have questions about? Where are you stuck? Are there instructions that you find confusing?

<form action="https://www.freecatphotoapp.com/submit-cat-photo"><input type="placesholder="text">
</form>

strong text

I see an empty form tag. Is that what you are supposed to have? What isn’t working the way you expect it to?

The above the is form element creation. So, I needed to know the errors. So that I can progress further.

What do the failing tests say? What are you supposed to be doing with the form element?

The existing

input

element should be nested within a

form

element.

Your form element above does not have anything nested in it. It is empty, with nothing in between the opening and closing tags.

Thanks for figuring it out. However, what should I do next?

Nest the existing input element inside a form element

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