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 00:00
Sam is a data analyst at an advertising firm. he often uses a spreadsheet that contains media ratings details. he would like to filter the spreadsheet data based on different filter criteria. which operators can he use to specify the combination of filter criteria? sam can use the ( blank ) operators to specify a combination of filter criteria.
Answers: 3
question
Computers and Technology, 22.06.2019 15:00
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
question
Computers and Technology, 22.06.2019 22:30
You are new to microsoft certification and want to start out by getting a certification geared around windows 8. what microsoft certification should you pursue?
Answers: 1
question
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
You know the right answer?
Use the checkAgeForm function to validate the form when the user clicks "submit". Given:
fun...
Questions
question
Mathematics, 23.11.2019 22:31
question
Mathematics, 23.11.2019 22:31