forked from joinpursuit/adding_elements_to_the_dom_lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnumberStatistics.html
28 lines (27 loc) · 917 Bytes
/
numberStatistics.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
<!DOCTYPE html>
<html>
<head>
<title>Number Statistics</title>
</head>
<body>
<h1>Number Statistics</h1>
<ul>
<li>
The user should be able to enter a number into a number input with
id='number-statistics-number-input'
</li>
<li>They should then be able to click a "submit" button with id='number-statistics-button'</li>
<li>
Clicking the submit button will add that number to a list with
id='number-statistics-numbers'. There should be three paragraphs on the
page: id='number-statistics-average', id='number-statistics-maximum',
and id='number-statistics-minimum'.
</li>
<li>
The first paragraph should show the average of all the numbers,
the second paragraph should show the maximum value,
and the third paragraph should show the minimum value.
</li>
</ul>
</body>
</html>