Spaces:
Running
Running
Update index.html
Browse files- index.html +8 -1
index.html
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Currency Converter</title>
|
7 |
<link rel="stylesheet" href="style.css">
|
|
|
|
|
8 |
</head>
|
9 |
<body>
|
10 |
<div class="container">
|
@@ -38,7 +40,12 @@
|
|
38 |
</div>
|
39 |
<button type="submit">Convert</button>
|
40 |
</form>
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
42 |
</div>
|
43 |
<script src="script.js"></script>
|
44 |
</body>
|
|
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Currency Converter</title>
|
7 |
<link rel="stylesheet" href="style.css">
|
8 |
+
<!-- Tambahkan FontAwesome CDN -->
|
9 |
+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
|
10 |
</head>
|
11 |
<body>
|
12 |
<div class="container">
|
|
|
40 |
</div>
|
41 |
<button type="submit">Convert</button>
|
42 |
</form>
|
43 |
+
<!-- Menambahkan tempat untuk ikon mata uang dan hasil konversi -->
|
44 |
+
<div id="result">
|
45 |
+
<i id="fromCurrencyIcon" class="fas"></i> <!-- Ikon untuk mata uang asal -->
|
46 |
+
<span id="conversionResult"></span> <!-- Hasil konversi -->
|
47 |
+
<i id="toCurrencyIcon" class="fas"></i> <!-- Ikon untuk mata uang tujuan -->
|
48 |
+
</div>
|
49 |
</div>
|
50 |
<script src="script.js"></script>
|
51 |
</body>
|