-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (70 loc) · 2.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Timestamp Generator and Converter</title>
<meta
name="description"
content="Get the current timestamp or see the date it represents."
/>
<meta
name="keywords"
content="timestamp, converter, date, timestamp generator, timestamp to date, date to timestamp"
/>
<meta name="author" content="HarukaYamamoto0" />
<meta name="robots" content="index, follow" />
<meta name="language" content="English" />
<link rel="icon" type="image/x-icon" href="/images/favicon.ico" />
<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=Ubuntu+Mono&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<header>
<h1>Timestamp Converter</h1>
</header>
<main>
<section id="section-get-current-timestamp">
<h2>Current Timestamp</h2>
<button class="result-button">
<span id="result-button-get-current-timestamp" class="result-text"
>1695938792</span
>
<span class="icons">
<img src="./assets/clipboard.svg" />
</span>
</button>
</section>
<div class="divider"></div>
<section id="section-convert-timestamp-to-date">
<h2>Convert Timestamp To Date</h2>
<input
id="input-convert-timestamp-to-date"
class="input"
type="number"
placeholder="Put your timestamp here!"
/>
<button
onclick="resultButtonConvertTimestampToDate.textContent = convertTimestampToDate()"
class="action-button"
>
Convert!
</button>
<button class="result-button">
<span id="result-button-convert-timestamp-to-date" class="result-text"
>2023-09-28 19:06:32 GMT−3</span
>
<span class="icons">
<img src="./assets/clipboard.svg" />
</span>
</button>
</section>
</main>
<script src="scripts.js"></script>
</body>
</html>