-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (94 loc) · 3.53 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
<!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- cdns link boostrap -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/4.3.0/mdb.min.css" rel="stylesheet" />
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato&display=swap" rel="stylesheet">
<!-- Boostrap CSs -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<!-- Icons Boostrap -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" />
<!-- Icons Awesome -->
<link rel="stylesheet" href="fw/fwb/css/all.css" />
<!-- CDNS ICONS AWESOME -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<!-- CSS -->
<link rel="stylesheet" href="style2.css" />
<!-- FAVICON -->
<link type="image/png" rel="shortcut icon" href="img/favicon.png">
<title>convert currency web</title>
</head>
<body>
<!--class box-->
<!-- <div class="container"> -->
<div class="row justify-content-sm-center h-100">
<div class="box">
<h1>currency exchanges</h1>
<hr>
<form action="#bungkus">
<div class="amount">
<p>Amounts</p>
<input type="text" value="0">
</div>
<div class="drop-list">
<div class="from">
<p>From</p>
<div class="select-box">
<img src="https://flagcdn.com/48x36/us.png" alt="flag">
<select>
</select>
</div>
</div>
<div class="icon">
<i class="fas fa-exchange-alt"></i>
</div>
<div class="to">
<p>To</p>
<div class="select-box">
<img src="https://flagcdn.com/48x36/id.png" alt="flag">
<select>
</select>
</div>
</div>
</div>
<div class="exchange-rate">get the value result</div>
<div class="d-flex align-items-center d-grid">
<button class="btn designbtn btn-lg btn-block btn-rounded" id="btn"><b>GET EXCHANGE RATE</b></button>
<button class="btn btn-secondary btn-loading d-none" type="button" disabled>
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Loading...
</button>
</div>
</form>
</div>
<div class="text-center mt-3 text-muted">
Copyright © 2022
</div>
</div>
<!-- Javascript Boostrap-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-ODmDIVzN+pFdexxHEHFBQH3/9/vQ9uori45z4JjnFsRydbmQbmL5t1tQ0culUzyK" crossorigin="anonymous">
</script>
<!-- <script>
const diamond = (value) => {
let inputdiamond = document.getElementById("diamond");
let outputRupiah = document.getElementById("duit");
inputdiamond.value = value
const fixedPrice = (500);
let diamond = value * fixedPrice
console.log('nilai dimond = ', diamond);
outputRupiah.value = diamond
}
</script> -->
<!-- JS-1 -->
<script src="js/country-list.js"></script>
<!-- JS-2 -->
<script src="js/script.js"></script>
</body>
</html>