subject

Use the checkAgeForm function to validate the form when the user clicks "submit". Given:
function checkAgeForm(event) {
let form = document. getElementById("userForm");
let userAge = form. userAge;

userAge. style. backgroundColor = "LightGreen";
if (userAge. value < 0) {
userAge. style. backgroundColor = "Orange";
event. preventDefault();
}
}

/* Your solution goes here */

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
in 2007, floridians died in alcohol-related collisions.a.  501b.  1,051c.  5,015d.  10,839
Answers: 1
question
Computers and Technology, 22.06.2019 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 23.06.2019 07:50
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
You know the right answer?
Use the checkAgeForm function to validate the form when the user clicks "submit". Given:
fun...
Questions
question
Biology, 11.12.2021 19:50
question
Biology, 11.12.2021 19:50
question
History, 11.12.2021 19:50
question
History, 11.12.2021 19:50
question
Mathematics, 11.12.2021 19:50
question
French, 11.12.2021 19:50
question
Mathematics, 11.12.2021 19:50
Questions on the website: 13722360