-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
193 lines (188 loc) · 6.31 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
191
192
193
<!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>MindgruveMacarta Calculators</title>
<link rel="stylesheet" href="./style.css" />
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
</head>
<body>
<!-- percent change calculator -->
<div class="grid grid--1x2">
<div class="card__container">
<div class="card card--primary" data-aos="fade-right">
<header class="card__header">
<h2>Percent</h2>
<h2>Change</h2>
<h2>Calculator</h2>
</header>
<div class="card__body">
<h3>Calculate the percent change between old & new values.</h3>
<div class="values grid grid--1x2">
<span>
<input
id="oldX"
class="xValue xValue__style"
placeholder="Enter OLD value here"
/>
<input
id="newY"
class="xValue xValue__style"
placeholder="Enter NEW value here"
/>
<button
id="getChangeResults"
type="button"
class="results__button"
>
Get Results
</button>
</span>
<div class="results">
<h3 id="changeResults"></h3>
</div>
</div>
</div>
</div>
</div>
<!-- percent difference calculator -->
<div class="card__container">
<div class="card card--primary" data-aos="fade-left">
<header class="card__header">
<h2>Percent</h2>
<h2>Difference</h2>
<h2>Calculator</h2>
</header>
<div class="card__body">
<h3>Calculate the percent difference between two values.</h3>
<div class="values grid grid--1x2">
<span>
<input
id="valueOne"
class="xValue xValue__style"
placeholder="Enter value here"
/>
<input
id="valueTwo"
class="xValue xValue__style"
placeholder="Enter value here"
/>
<button
id="getDifferenceResults"
type="button"
class="results__button"
>
Get Results
</button>
</span>
<div class="results">
<h3 id="insertDifferenceResults"></h3>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="grid grid--1x2">
<!-- Spend Increase Calculator -->
<div class="card__container bottom">
<div class="card card--primary" data-aos="fade-left">
<header class="card__header">
<h2>Spend</h2>
<h2>Increase</h2>
<h2>Calculator</h2>
</header>
<div class="card__body">
<h3>Calculate the amount you could have spent during a timeframe. </h3>
<div class="values grid grid--1x2">
<span>
<input
id="spend"
class="xValue_wide xValue__style"
placeholder="Enter spend"
/>
<input
id="average_cpc"
class="xValue_wide xValue__style"
placeholder="Enter average CPCs"
/>
<input
id="average_ctr"
class="xValue_wide xValue__style"
placeholder="Enter CTR"
/>
<input
id="impressions"
class="xValue_wide xValue__style"
placeholder="Enter impressions"
/>
<input
id="impression_share"
class="xValue_wide xValue__style"
placeholder="Enter impression share"
/>
<input
id="impression_share_lost_budget"
class="xValue_wide xValue__style"
placeholder="Enter impr. share lost (budget)"
/>
<button
id="getIncreasedSpendResults"
type="button"
class="results__button"
>
Get Results
</button>
</span>
<div class="resultsSpend">
<h3 id="insertIncreasedSpendImpressions"></h3>
<h3 id="insertTotalImpressionsLost"></h3>
<h3 id="insertAddititionalClicks"></h3>
<h3 id="insertIncreasedSpendResults"></h3>
</div>
</div>
</div>
</div>
</div>
<div class="card__container bottom">
<div class="card card--primary" data-aos="fade-left">
<header class="card__header">
<h2>Year Complete</h2>
<h2>Percentage</h2>
<h2>Calculator</h2>
</header>
<div class="card__body">
<h3>Find the completed year percentage.</h3>
<div class="start-year-container">
<h4>From:</h4>
<input type="number" id="year" min="1900" max="2100" value="2024">
</div>
<div class="end-date-container">
<h4>To:</h4>
<input type="date" id="end-date">
</div>
<button
id="getYearComplete"
type="button"
class="results__button">
Get Results
</button>
<div class="yearCompleteResults" id="dateCompleteResults">
<h3 id="insertdateCompleteResults"></h3>
</div>
</div>
</div>
</div>
</div>
<script src="./percentChange.js"></script>
<script src="./percentDifference.js"></script>
<script src="./spendIncrease.js"></script>
<script src="./yearComplete.js"></script>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>
</body>
</html>