-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (63 loc) · 2.56 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
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<title>Currencies calculator</title>
<link crossorigin="anonymous" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" rel="stylesheet">
<script crossorigin="anonymous" defer
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script crossorigin="anonymous" defer
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script crossorigin="anonymous" defer
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script defer src="./js/app.js" type="text/javascript"></script>
<link href="./css/style.css" rel="stylesheet" type="text/css">
<link crossorigin="anonymous" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" rel="stylesheet">
</head>
<body>
<div class="container top">
<div>
<img class="logo" src="img/exchange.png">
</div>
<div class="app-title">
<h1>PRZELICZNIK WALUT</h1>
</div>
<div>
<img class="logo" src="img/exchange.png">
</div>
</div>
<div class="container">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">Podaj kwotę wymienianej waluty</span>
</div>
<input aria-label="Wartość waluty do wymiany na PLN" class="form-control" id="valueToCalculate" min="0"
type="number">
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<label class="input-group-text" for="currencySelector">Wybierz walutę</label>
</div>
<select class="custom-select" id="currencySelector">
<option value="eur">EUR</option>
<option value="usd">USD</option>
<option value="chf">CHF</option>
</select>
</div>
<div class="alert alert-success calculated" role="alert">
Podaj wartośc do przeliczenia i wybierz walutę
</div>
<div class="button-section">
<button class="btn btn-secondary" onclick=calculateCurrency() type="button">Przelicz</button>
<div class="spinner-border text-success" id="loader" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
</div>
</body>
</html>