-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
190 lines (179 loc) · 6.56 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<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>Dairy Business</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- nav bar starts here -->
<div class="nav">
<ul class="nav-ul">
<li>
<a href="" class="logo">Sai<span class="Dar">Dar</span> </a>
</li>
<li>
<div class="nav-links">
<ul class="links">
<li><a class="nav-hover" href="#">Home</a></li>
<li><a class="nav-hover" href="#">About</a></li>
<li><a class="nav-hover" href="#">Products</a></li>
<li><a class="nav-hover" href="#">Contact us</a></li>
</ul>
</div>
</li>
<li>
<div class="nav-getstarted">
<ul class="login">
<li><a class="nav-hover" href="#">Login</a></li>
<li>
<a href="" class="btn"> Get Started </a>
</li>
</ul>
</div>
</li>
</ul>
</div>
<!-- nav bar ends here -->
<div class="container">
<div class="landing">
<div class="landing-txt">
<h1 class="heading">Eco milk and dairy products</h1>
<p class="mid-section">
At SaiDar, we're proud to share the simple pleasures of real dairy straight from our family farms.
Our products are organic and eco friendly.
</p>
<a href="#report" class="btn-bottom">View report</a>
</div>
</div>
<div class="report" id="report">
<form
action=""
onsubmit="event.preventDefault(); generateReport()"
method=""
>
<h1>Sheds Production</h1>
<fieldset>
<legend>Enter the milk production values</legend>
<label for="a">Shed A:</label>
<input type="number" id="a" name="a" min="0" />
<label for="b">Shed B:</label>
<input type="number" id="b" name="b" min="0" />
<label for="c">Shed C:</label>
<input type="number" id="c" name="c" min="0" />
<label for="d">Shed D:</label>
<input type="number" id="d" name="d" min="0" />
</fieldset>
<fieldset>
<legend>Enter the milk price per liter</legend>
<label for="price">Brookside Purchase Price:</label>
<input type="number" id="price" name="price" min="0" />
</fieldset>
<button class="submit-btn" type="submit">GENERATE REPORT</button>
</form>
<div class="report-body">
<h1>Here is your report:</h1>
<p class="placeholder" id="placeholder">Your report values will appear here:</p>
<div id="report-values" class="report-values hidden">
<div class="daily-prod">
<p class="report-item">
Your production in shed A is
<span id="report-a"></span> litres per day
</p>
<p class="report-item">
Your production in shed B is
<span id="report-b"></span> litres per day
</p>
<p class="report-item">
Your production in shed C is
<span id="report-c"></span> litres per day
</p>
<p class="report-item">
Your production in shed D is
<span id="report-d"></span> litres per day
</p>
</div>
<div class="daily">
<p class="report-item">
Your daily income is
<span id="daily"> </span> kenyan shillings
</p>
</div>
<div class="weekly">
<p class="report-item">
Your weekly income is
<span id="weekly"> </span> kenyan shillings
</p>
</div>
<div class="monthly">
<p class="report-item">
Your income for January is
<span id="january"> </span> kenyan shillings
</p>
<p class="report-item">
Your income for february on a leap year is
<span id="feb-leap"> </span> kenyan shillings
</p>
<p class="report-item">
Your income for february on a non-leap year is
<span id="february"> </span> kenyan shillings
</p>
<p class="report-item">
Your income for march is
<span id="march"> </span> kenyan shillings
</p>
<p class="report-item">
Your income for April is
<span id="april"> </span> kenyan shillings
</p>
<p class="report-item">
Your income for may is
<span id="may"> </span> kenyan shillings
</p>
<p class="report-item">
Your income for june is
<span id="june"></span> kenyan shillings
</p>
<p class="report-item">
Your income for july is
<span id="july"></span> kenyan shillings
</p>
<p class="report-item">
Your income for august is
<span id="august"></span> kenyan shillings
</p>
<p class="report-item">
Your income for september is
<span id="september"></span> kenyan shillings
</p>
<p class="report-item">
Your income for october is
<span id="october"></span> kenyan shillings
</p>
<p class="report-item">
Your income for november is
<span id="november"></span> kenyan shillings
</p>
<p class="report-item">
Your income for december is
<span id="december"></span> kenyan shillings
</p>
</div>
<div class="yearly">
<p class="report-item">
Your income on a leap year is
<span id="leap-year"></span> kenyan shillings
</p>
<p class="report-item">
Your income on a non-leap year is
<span id="non-leap-year"></span> kenyan shillings
</p>
</div>
</div>
</div>
</div>
</div>
<script src="main.js"></script>
</body>
</html>