forked from YuriChirmici/Healee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (44 loc) · 1.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Currency exhange rate</title>
<link href="https://kendo.cdn.telerik.com/2021.2.616/styles/kendo.common.min.css" rel="stylesheet" />
<link href="https://kendo.cdn.telerik.com/2021.2.616/styles/kendo.default.min.css" rel="stylesheet" />
<script src="https://kendo.cdn.telerik.com/2021.2.616/js/jquery.min.js"></script>
<script src="https://kendo.cdn.telerik.com/2021.2.616/js/kendo.all.min.js"></script>
</head>
<body>
<div class="container">
<div class="currency__inner" data-bind="visible: isCurrencyVisible">
<div class="currencySelect">
<label for="currency">Choose a currency:</label>
<select name="currency"
data-bind="source: currencies, value: currency"
></select>
</div>
<div class="loading" data-bind="visible: isLoadingVisible">loading...</div>
<div class="exchangeRate">
<div class="currencyGroup" data-template="li-template" data-bind="source: groupList1"></div>
<div class="currencyGroup" data-template="li-template" data-bind="source: groupList2"></div>
<div class="currencyGroup" data-template="li-template" data-bind="source: groupList3"></div>
</div>
<div class="longestArray">
<span>The length of the longest array: </span>
<span data-bind='text: longestChain'></span>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script id="li-template" type="text/x-kendo-template">
<li>
<span data-bind="text: currency"></span>-
<span data-bind="text: currencyTo"></span>:
<span data-bind="text: value"></span>
</li>
</script>
<script src="js/script.js"></script>
</body>
</html>