Assessment wanted for Form test

Thanks for your time

Hi @Kasem777 and welcome to the community :wave:

There are some issues with your code:

  • <p> is used for text paragraphs and is not allowed as parent of <ul>
  • The first three input types are wrong. Those should be “text” or “number”
  • The last <input> has for="email" instead of type="email"

I hope that helps. Feel free to ask any questions you like :slightly_smiling_face:

Have a nice day!
Michael

2 Likes

Hello, Michael.
Thanks for your feedback
I have edited my code if you have time to look at it, I really appreciated :slight_smile:

There is still a problem with the type attributes:

  • Name input should be type="text"
  • Age input should be type="number"
  • Comment input should be type="text"

I just saw another small thing that I missed before. Your last input tag has also a closing tag. Closing tags are not valid for <input> tags.

As a general note: I recommend using the W3C HTML validator when working with HTML. You can just paste your code inside the <body> tags and press “Check” and it will tell you where there are problems with your code.

Michael

1 Like