-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (37 loc) · 1.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<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=IBM+Plex+Mono&family=Roboto:wght@400;500;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
<title>Convert</title>
</head>
<body>
<img src="logo.svg" alt="Convert logo" />
<main>
<form>
<label for="amount">valor</label>
<input type="text" name="amount" id="amount" placeholder="0" required />
<label for="currency">moeda</label>
<select name="currency" id="currency" required>
<option value="" disabled selected hidden>Selecione a moeda</option>
<option value="USD">Dólar Americano</option>
<option value="EUR">Euro</option>
<option value="GBP">Libra Esterlina</option>
</select>
<button type="submit">Converter em reais</button>
</form>
<footer>
<span id="description">US$ 1 = R$ 4,86</span>
<h1 id="result">486,00 Reais</h1>
</footer>
</main>
<script src="scripts.js"></script>
</body>
</html>