-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (36 loc) · 1.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>New Tab</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Metropolis:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=search" />
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
</head>
<body>
<!-- Clock from HTML2 -->
<div id="clock">
<span id="hours">00</span>
<span class="colon">:</span>
<span id="minutes">00</span>
<span class="colon">:</span>
<span id="seconds">00</span>
<span id="ampm">AM</span> <!-- This will display AM or PM -->
</div>
<div class="search">
<form action="https://www.google.com/search" method="get">
<div class="search-container">
<input type="text" name="q" placeholder="Search Google..." required>
<button type="submit">
<span class="material-symbols-outlined">search</span>
</button>
</div>
</form>
</div>
<!-- Scripts -->
<script src="script_for_clock.js"></script>
<script src="script_for_background.js"></script>
</body>
</html>