forked from chrisways/shuffle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmofficer.html
More file actions
32 lines (28 loc) · 809 Bytes
/
admofficer.html
File metadata and controls
32 lines (28 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html>
<head>
<title>Untitled Document</title>
</head>
<script>
function tawa()
{
name = document.getElementById('cname').value;
score = document.getElementById('cscore').value;
//alert(name + "Your jamb score is "+score)
//alert("You have just clicked the check status button");
if(score >= 200)
{
alert(name+ " Congratulations! You have been offered an admision.")
}
else
{
alert(name + " Sorry! No admision ofered yet.")
}
}
</script>
<body>
<fieldset><legend>Admission Officer </legend>
<table><tr><td>Candidate Name</td><td><input type="text" id="cname" /></td></tr><tr><td>Candidate Score</td><td><input type="text" id="cscore" /></td></tr>
<tr><td colspan="2"><input type="button" value="Check Status" onclick="tawa()" /></td></tr>
</table></fieldset>
</body>
</html>