-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (67 loc) · 2.76 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>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#8afce9">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#8afce9">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-status-bar-style" content="#8afce9">
<title> CurrencyConverter by Abraham kalu Ume for ALC</title>
<link rel="shortcut icon" type="image/png" href="./img/favicon.png"/>
<link rel="stylesheet" href="css/currency.css"/>
</head>
<body>
<div class="formContainer">
<div class="header">
Currency<empty></empty> Converter<span></span>
</div>
<div class="notification"></div>
<form>
<input id="amountInput" placeholder="enter amount here"/>
<select id="currencyFrom" class="select">
<option> convert From </option>
</select>
<select id="currencyTo" class="select">
<option> convert to </option>
</select>
<button type="button" id="userSubmit">convert</button>
<div class="exchangeRate"></div>
<div class="inputDigit" style="display: none;">
<button type="button" class="digit one">1</button>
<button type="button" class="digit two">2</button>
<button type="button" class="digit three">3</button>
<button type="button" class="digit four">4</button>
<button type="button" class="digit five">5</button>
<button type="button" class="digit six">6</button>
<button type="button" class="digit seven">7</button>
<button type="button" class="digit eight">8</button>
<button type="button" class="digit nine">9</button>
<button type="button" class="digit zero">10</button>
<button type="button" class="digit dot">.</button>
<button type="button" class="digit multi">x</button>
<button type="button" style="width: 45%;">calculator</button>
</div>
<div class="outputDigit" style="display: none;">
<div class="calculateorOutput"></div>
<div class="calculateorInput"></div>
</div>
</form>
</div>
<script src="js/currency.js"></script>
<script src="./js/emmsdanExtra.js"></script>
<script src="./js/controller.js"></script>
<script src="./js/database.js"></script>
<script src="./js/converter.js"></script>
<script src="./serviceWorker.js"></script>
<script>
/* DB server, serviceWorker and get currency into select buttons */
getCurrency();
startDb();
registerServiceWorker();
</script>
</body>
</html>