-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (66 loc) · 3.2 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
73
74
75
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Potta+One&family=Yusei+Magic&family=Roboto+Mono&display=swap"
rel="stylesheet">
<!-- <OG tags> -->
<meta name="og:title" content="Wordize" />
<meta name="og:type" content="Test" />
<meta name="og:url" content="http://wordize.netlify.app/" />
<meta name="og:image" content="https://i.ibb.co/CbN7PGN/W.png" />
<meta name="og:site_name" content="Wordize app" />
<meta name="og:description" content="Build your vocabulary by learning a new word, everyday!" />
<link rel="stylesheet" href="styles.css">
<script src="https://kit.fontawesome.com/1a48924413.js" crossorigin="anonymous"></script>
<title>Wordize</title>
</head>
<body>
<script>
var currentTheme = 'dark';
function dark() {
var x = document.body;
x.classList.toggle("dark-mode");
if (currentTheme === 'dark') {
document.getElementById('toggleknop').innerHTML =
'<a style="font-size: 1.1rem;">Light <i class="fas fa-sun" id="maan" style="color:#FCD34D;font-size: 1.1rem"></i></a>';
currentTheme = 'sun';
} else {
document.getElementById('toggleknop').innerHTML =
'<a style="font-size: 1.1rem;">Dark <i class="fas fa-moon" id="maan" style="color:#E5E7EB;font-size: 1.1rem"></i></a>';
currentTheme = 'dark';
}
}
</script>
<div class="container">
<button id="toggleknop" onclick="dark()" class="mt-4 btn btn-primary" style="font-family: Yusei Magic;"><a
style="font-size: 1rem;">Dark <i class="fas fa-moon" id="zon"
style="color:#E5E7EB; font-size: 1.1rem;"></i></a></button>
</div>
<h1 class="display-2 text-center" style="font-family: Yusei Magic;">Wordize</h1>
<p class="text-center" style="font-family: Potta One;">Build your vocabulary by learning a new word, everyday!</p>
<hr>
<div class="container text-center">
<button class="mt-4 btn btn-primary button" style="font-family: Yusei Magic;">Get one set of word and it's
definition now!</button>
</div>
<div class="container">
<hr class="mt-4">
<div style="margin-top: 6rem;" id="demo">
</div>
</div>
<footer class="mt-5 text-center">
<hr>
<p className="text-center" style="font-family: Roboto Mono; font-size:10; line-height: 0.5">Copyright ©️
<script type="text/javascript">
document.write(new Date().getFullYear());
</script> Parth Pandya </p>
<p className="text-center" style="font-family: Roboto Mono; font-size: 10; line-height: 0.5 ">Some rights reserved.
</p>
</footer>
<script type="module" src="app.js"></script>
</body>
</html>