-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAverage.html
90 lines (78 loc) · 1.83 KB
/
Average.html
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!--
Waleed Masoom
ICS3UO
November 4TH, 2013
Average Program
The program makes 50 random numbers and calculates the average of them. then, finally displays the numbers upon the webpage and adds a customized style through the id command
-->
<! Doctype=HTML >
<html>
<head>
<meta charset="UTF-8">
<title>
Little Hands Daycare
</title>
<link rel="stylesheet" type="text/css" href="Logo2.css">
<script src="Average.js">
</script>
</head>
<body>
<div id="Titlecont">
<div id="Picture">
<img src="LogoPicture.png" width=60 height=60>
</div>
<div id="Title">
<h1>Little Hands Daycare</h1>
</div>
<div id="Motto">
<p> "It takes a village to raise a child" </p>
</div>
</div>
<div id="Button">
<a href="Computer SciencesWE.html">
<button type="button">
Home
</button>
</a>
<a href="About Us.html">
<button type="button">
About
</button>
</a>
<a href="Timer.html">
<button type="button">
Timer
</button>
</a>
<a href="Register.html">
<button type="button">
Register
</button>
</a>
<a href="Schedule.html">
<button type="button">
Events
</button>
</a>
</div>
<h3 style="text-align: center;">First press the find average button before trying to get the 100 random numbers</h3>
<div id="Hud">
<button type="button" onclick="findAverage()">
Click this to find out the average of 100 random numbers
</button>
<button type="button" onclick="showNumbers()">
Click this to find out what were the 100 random numbers
</button>
<p>
The Average Number Is:
</p>
<p id="average">
</p>
<p>
The Numbers Used Were:
</p>
<p id="numbers">
</p>
</div>
</body>
</html>