Create a Form Element Part

Tell us what’s happening:
In the Form Part I Try and i didnt get what i need, somebody can help me with this to continue with my study.
Thanks

  **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>
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
<input type"text" placeholder="Click Here">
</form>

</main>
  **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

Your <form> tags are fine and they are in the correct spot. The reason you are not passing is because you made changes to the <input> tag. Click “Reset All Code” to get a fresh start and only add the <form> tags around the <input>. Do not make any changes to the <input> (or anything else). These tests can be very sensitive to unexpected changes.

1 Like

Thank You so Much for your response… I did what you told me:

<form action="https://www.freecatphotoapp.com/submit-cat-photo"

But is still not working.
This is the Error that appears:
The existing
input element should be nested within a
form element. Your
form
element should have well-formed open and close tags.

(post deleted by author)

(post deleted by author)

Does your form element have proper opening and closing tags? It did in the original code you posted. Make sure you do it the exact same way.

1 Like

I Pass this Level with the same Way of you told me but adding more spaces…I dont know How i Just need to know How…But THAN YOU SO MUCH FOR YOUR HELP!

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