Modify the following file, so that:
- If the user input for the age input box is empty, please sendthe user a warning message: “Age field cannot be empty” and returnto the form web page to allow the user to re-input the age;
If the user input for the age input box is incorrect (e. g. lessthan 1), please also send the user a warning message: “Your ageinput is not correct!” and return to the form web page to allow theuser to re-input the age
<!DOCTYPE html>
<html lang=”en”>
<head>
<title>Form Handling</title>
<meta charset=”utf-8″>
<style type=”text/css”>
div {padding-bottom:10px; width:250px; text-align:right; }
label {padding-right:5px; }
</style>
<script type=”text/javascript”>
<!–
function validateForm()
{
if (document.forms[0].userName.value == “” )
{alert(“Name field
OR
OR