-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
70 lines (50 loc) · 2.14 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- SECTION -->
<section>
<h2 id="title">Dairy Farm Monitor</h2>
<div class="milkProduce">
<!-- FORM - INPUT RESULTS -->
<div class="formData">
<form action="submit" onsubmit="produceReport();">
<h3>Fill and submit the form bellow to get a summary of your income</h3>
<div id="sheds">
<label for="shed_A">Shed_A: Milk (Litres)</label>
<input id="shed_A" type="number" min="0" required>
</div>
<div id="sheds">
<label for="shed_B">Shed_B: Milk (Litres)</label>
<input id="shed_B" type="number" min="0" required>
</div>
<div id="sheds">
<label for="shed_C">Shed_C: Milk (Litres)</label>
<input id="shed_C" type="number" min="0" required>
</div>
<div id="sheds">
<label for="shed_D">Shed_D: Milk (Litres)</label>
<input id="shed_D" type="number" min="0" required>
</div>
<button type="submit">Submit</button>
<button id="reset" type="reset" onclick="resetPage();">Reset</button>
</form>
</div>
<!-- OUTPUT RESULTS -->
<div class="outputDisplay">
<h3 id="displayTitle">Production Summary</h3>
<hr>
<p id="outputData"></p>
<!-- OPTIONAL CHALLENGE -->
</div>
</div>
</section>
<script src="app.js"></script>
</body>
</html>