This project is a simple form validation program created using HTML and JavaScript.
The form contains two input fields:
- Name
JavaScript is used to check whether the required fields are entered before the form is submitted.
I chose this project to understand the basic concept of form validation using JavaScript.
Form validation is commonly used in websites to check user input before submitting a form. This project helped me understand how JavaScript can access HTML form elements and validate the values entered by the user.
I also chose this project because it is simple to implement and helps build a strong foundation in JavaScript and DOM manipulation.
- HTML
- JavaScript
form-validation.html