<html>
<head>
<strong>Let’s have fun with Javascript</strong>
</head>
<body>
<br><br>
<form action=”index.html” onsubmit=”return validate_form(this)” method=”post”>
<strong>Name : </strong><input type=”text” name=”txtName”><br>
<strong>Age : </strong><input type=”text” name=”txtAge” onKeyUp=”javascript:checkNumber(txtAge);”>
<br><br>
<input type=”submit” value=”Submit”>
</form>
<form action=”index.html” onsubmit=”return calculateBMI(this)” method=”post”>
<strong>Height : </strong><input type=”text” name=”txtHeight”><br>
<strong>Weight : </strong><input type=”text” name=”txtWeight”>
<input type=”submit” value=”Calculate BMI”>
</form>
<br><br>
<table border = “1″>
<tr>
<td>Column 1 Row 1</td>
<td>Column 2 Row 1</td>
<tr>
<td>Column 1 Row 2</td>
<td>Column 2 Row 2</td>
</tr>
</table>
</body>
</html>