Question: Using HTML and Javascript for Web Development: Create HTML form with HTML tag. This form will have 2 text boxes and a button. Textboxes will
Using HTML and Javascript for Web Development:
Create HTML form with HTML tag. This form will have 2 text boxes and a button.
Textboxes will be for name and age. in javascript function, get the information written in name and age textboxes.
Check if the age is > 18 then print "you can get driver's license" on a label. Also change the background color to blue.
if age < 18 then print "you can not get driver's license" on a label. Also change the background color to red.
Call this function on button click event.
Step by Step Solution
There are 3 Steps involved in it
Drivers License Checker Name Age Check License script function checkLicense var name docu... View full answer
Get step-by-step solutions from verified subject matter experts
