Html form not working as assigned and gave me same error

i have made the assignment as instructed and it still gave the same message ;
i do not know what is wrong

form

should have an

action

attribute which is set to

https://www.freecatphotoapp.com/submit-cat-photo

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

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

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

Challenge: Create a Form Element

Link to the challenge:

Hi, I just review your code and I notice that you have extra form tag after /ol . I hope that it will fix the error.

Dear, sorry this there nothing and when even omit < /form> it gave another error which is " our form element should have well-formed open and close tags.
here it the code after I deleted it

i still do know what is wrong

image
I mean this< form > tag. because you already opening form tag followed by action.

Yes dear, i got it thank you so much for your support and help

1 Like