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 20:50
What is the difference between windows 7 and windows 10?
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
Why were most movies from the late 1890s until the early 1930s only filmed in black and white? there were only a few people who could afford the technology to produce color motion pictures back then. audiences did not want color motion pictures until later. the film used to make color motion pictures often overheated, which was a safety hazard, so it was generally not allowed. color films had to be hand-colored, frame by frame.
Answers: 3
question
Computers and Technology, 23.06.2019 08:30
Based on your knowledge of a good network, describe what you think is a perfect network would be. what kind of information and resources could users share on this network. what would the network administrator do? what kind of communication would be used?
Answers: 1
You know the right answer?
Use the checkAgeForm function to validate the form when the user clicks "submit". Given:
fun...
Questions
question
Social Studies, 17.10.2019 12:10
question
Mathematics, 17.10.2019 12:10
question
Mathematics, 17.10.2019 12:10
question
English, 17.10.2019 12:10
question
Mathematics, 17.10.2019 12:10
Questions on the website: 13722363