-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (62 loc) · 2.5 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
</head>
<body>
<div class="site">
<div align="center" id="clock">
<!-- <script src="main.js"></script>-->
<script>
function updateClock() {
var date = new Date();
var hour = date.getHours();
var min = date.getMinutes();
var timeString = hour.toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false }) + ":" + min.toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false });
// Update the clock display by modifying the HTML element with the id "clock"
document.getElementById("clock").textContent = timeString;
}
// Initial call to update the clock
updateClock();
// Set up an interval to update the clock every minute (60000 milliseconds)
setInterval(updateClock, 60000);
</script>
</div>
<div align="center" class="search">
<! <input type="text" id="searchbar" placeholder=" search with google...">
<input type="text" id="searchbar" placeholder="search with google...">
<script src="search.js"></script>
</div>
<div class="container" align="center">
<div id="box1">
<a href="https://gmail.com">GMail</a>
<br>
<a href="https://translate.google.com/">Translate</a>
<br>
<a href="https://scholar.google.com">Scholar</a>
<br>
<a href="https://drive.google.com">Drive</a>
</div>
<div id="box3">
<a href="https://outlook.office.com/mail/inbox">Outlook</a>
<br>
<a href="https://canvas.ku.edu/">Canvas</a>
<br>
<a href="https://lib.ku.edu/">KU Library</a>
<br>
<a href="https://github.com/CaptainAsbestos?tab=repositories">GitHub</a>
</div>
<div id="box2">
<a href="https://web.whatsapp.com/">WhatsApp</a>
<br>
<a href="https://www.facebook.com/messages/">Messenger</a>
<br>
<a href="https://www.reddit.com">Reddit</a>
<br>
<a href="https://discord.com/app">Discord</a>
</div>
</div>
</div>
</body>
</html>