-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathindex.html
38 lines (35 loc) · 1.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Currency Converter</title>
<link rel="stylesheet" href="styles.css">
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</head>
<body>
<div class="container">
<h1 class="title">Currency Converter</h1>
<div class="converter">
<div class="converter__input">
<input type="number" id="amount" class="converter__amount" placeholder="Enter amount">
<select id="fromCurrency" class="converter__select"></select>
</div>
<div class="converter__input">
<input type="text" id="result" class="converter__result" readonly>
<select id="toCurrency" class="converter__select"></select>
</div>
<button id="convertBtn" class="converter__button">Convert</button>
</div>
<div class="theme-switcher">
<button id="lightTheme" class="theme-switcher__button">Light</button>
<button id="darkTheme" class="theme-switcher__button">Dark</button>
</div>
<div class="color-picker">
<input type="color" id="primaryColorPicker" class="color-picker__input">
<input type="color" id="secondaryColorPicker" class="color-picker__input">
</div>
</div>
<script type="module" src="script.js"></script>
</body>
</html>