-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
65 lines (65 loc) · 2.38 KB
/
about.html
File metadata and controls
65 lines (65 loc) · 2.38 KB
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>About</title>
<link rel="stylesheet" href="style/style.css">
<script src="https://kit.fontawesome.com/649eda76c1.js" crossorigin="anonymous"></script>
<script src="script/response.js" charset="utf-8"></script>
<script src="script/theme.js" charset="utf-8"></script>
<script>
if(!document.cookie)
{
let hr = new Date().getHours();
if((hr > 18) || (hr < 06))
{
document.getElementsByTagName('link')[0].setAttribute('href', 'style/dark.css');
}
else {
document.getElementsByTagName('link')[0].setAttribute('href', 'style/style.css');
}
}
else {
if(document.cookie.search("light") != -1)
{
document.getElementsByTagName('link')[0].setAttribute('href', 'style/style.css');
}
else if (document.cookie.search("dark") != -1)
{
document.getElementsByTagName('link')[0].setAttribute('href', 'style/dark.css');
}else if (document.cookie.search("night") != -1)
{
document.getElementsByTagName('link')[0].setAttribute('href', 'style/night.css');
}
}
</script>
</head>
<body>
<div class="Header">
<div class="theme">
Choose Your Theme :
<label class="switch">
<input type="radio" name="theme" value="light" onclick="changetheme(this.value)"/>Light 🌞  
</label>
<label class="switch">
<input type="radio" name="theme" value="dark" onclick="changetheme(this.value)"/>Dark 🖥  
</label>
<label class="switch">
<input type="radio" name="theme" value="night" onclick="changetheme(this.value)"/>Night 🦉
</label>
</div>
<button class="menu_button" id="mb" onclick="toggling()"><i style="font-size:48px;" class="fas fa-bars fa-3x"></i></button>
<nav id="main" class="main">
<a href="index.html">Home</a>
<a href="gallery.html">Gallery</a>
<a href="contact.html">Contact</a>
<a href="#">About</a>
</nav>
</div>
<div onclick="toggling2()">
<h1>About</h1>
<p>This website is currently made with HTML, CSS and JavaScript. Further updates will be added in future. Feel free
to contact for any queries.</p>
</div>
</body>