-
Notifications
You must be signed in to change notification settings - Fork 2.3k
HTML Form Develop #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
* add form value demo to explain why we need names in forms * downgrade http-server version to solve windows issue * do not add onSubmit listener by default
added backstopConfig module, change config file.
changed http-server to browsersync
Simple development
updated according to linter
fix npm vulnerabilities(npm audit fix --force)
remove unneeded browser-sync
update @mate-academy/scripts to 0.8.0
Add jest in package
…ig in devDependencies
Update @mate-academy/linthtml-config
add a point about textarea common mistake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a well-structured and semantically correct HTML form implementation that follows best practices for accessibility and user input validation. The use of
and elements appropriately groups related inputs, enhancing both readability and screen reader support. Required attributes are used correctly for mandatory fields such as name, surname, and agreement checkbox, which ensures the form collects essential data before submission. Each is clearly associated with its respective input, which improves usability. Additionally, input types are appropriately chosen (e.g., email, password, number, color, time, and range), making form validation and user experience more intuitive. However, there are minor improvements that can be made: the appears empty and may need a display label for clarity, and a typo exists in “Laba,” which might be intended as “Lada.” Overall, this form is functional, user-friendly, and ready for production with minimal refinement.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This project demonstrates a well-structured and comprehensive HTML form, covering personal information, registration details, preferences, and additional feedback. The use of fieldset and legend tags helps organize the form semantically, making it easier to read and navigate. Input types are appropriately chosen for each field, including text, number, date, email, password, color, time, range, checkboxes, radio buttons, and select elements, which ensures a good user experience and proper data validation. The form also enforces basic constraints such as required fields, min/max values, and minlength/maxlength where applicable. One suggestion for improvement would be to enhance the accessibility and usability, for example by adding ARIA labels and placeholders consistently, and handling form validation feedback dynamically via JavaScript. Additionally, some options in the multi-select element appear empty or unclear, so refining those would improve clarity. Overall, this is a solid foundation for a fully functional and interactive registration form.
DEMO LINK
TEST REPORT LINK