-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (60 loc) · 2.62 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
<!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=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style/normalize.css">
<link rel="stylesheet" href="style/style.css">
<title>Document</title>
</head>
<body>
<div id="changeOrientationGif">
<img src="./giphy.gif" alt="rotateDevice">
</div>
<div class="wrapper">
<div class="header">
<label for="date">Дата:</label><input type="date" id="date" name="date" oninput="changeDate()">
<button id="buttonCourses">ВВОД КУРСОВ</button>
<h1>МОЙ БАНК</h1>
</div>
<div class="line"></div>
<div class="apps_body">
<label for="input_data__addCurrency" id="plus"><span id="plus_sp">+</span>
<span>добавить валюту</span></label>
<input type="checkbox" id="input_data__addCurrency" value="yes">
<fieldset>
<label>сумма
<input type="number" name ="summa" class="summa" step="0.01" min="0" placeholder="000 000.00" oninput="convertToByn(this)">
</label>
<label class="label_for_currency">вид
<input list="type_of_currency" class="currency" placeholder="USD" oninput="convertToByn(this)">
<datalist id="type_of_currency">
<option>USD</option>
<option>EUR</option>
<option>RUB</option>
</datalist>
</label>
<label class="label_exchange_rate">курс
<input type="number" class="exchange_rate" name = "exchange_rate" step="0.01" min="0" placeholder="0.00" oninput="convertToByn(this)">
</label>
<div class="total_byn">в бел руб<span></span>
</div>
<p class="cross" onclick="delFieldset(this)">✖</p>
</fieldset>
</div>
<div class="line"></div>
<div id="total">
<p>ИТОГО:</p>
<button id="byn" class="active">Б.РУБ</button>
<button id="usd">$</button>
<button id="euro">€</button>
<span></span>
<button id="save" onclick="save()">ЗАПОМНИТЬ</button>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>