-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (32 loc) · 931 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Code Jugaad - Javascript</title>
<style>
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: linear-gradient(180deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}
</style>
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
</head>
<body>
<br>
<br>
<br>
<br>
<!-- -->
<h1>The Kingdom of Date</h1>
<h2 class="date"></h2>
<script>
const date = dayjs('2018-04-13 19:18').format('MMMM D, YYYY h:mm A');
document.querySelector('.date').innerHTML = date;
</script>
<script type="module" src="index.js"></script>
</body>
</html>