-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (67 loc) · 2.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://use.typekit.net/hnt4xus.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="css/main.css">
<title>CharQuest - Home</title>
</head>
<body>
<header>
<img src="img/icon.svg" alt="Dragon Icon">
<h1>CharQuest</h1>
</header>
<button class="navi" onclick="buttAct()">Menu</button>
<nav id="navibar">
<a href="index.html">Home</a>
<a href="classes.html">Classes</a>
<a href="abilities.html">Ability Scores</a>
<a href="flavor.html">Flavor Text</a>
<a href="equipment.html">Equipment</a>
<a href="about.html">About</a>
<a href="contact.html">Contact</a>
</nav>
<main class="index">
<p>Greetings, adventurer! The words within this site will grant you a glimpse into the wide range of character possibilities in 5th Edition D&D. Click or tap a thumbnail to embark upon your quest.</p>
<a href="abilities.html" class="biglink"><figure>
<img src="img/knight.jpg" alt="Ability Scores">
<figcaption>Ability Scores</figcaption>
</figure></a>
<a href="classes.html" class="biglink"><figure>
<img src="img/wizard.jpg" alt="Classes">
<figcaption>Classes</figcaption>
</figure></a>
<a href="flavor.html" class="biglink">
<figure>
<img src="img/dragon.jpg" alt="Flavor text">
<figcaption>Flavor text</figcaption>
</figure></a>
<a href="equipment.html" class="biglink">
<figure>
<img src="img/weapons.jpg" alt="Equipment">
<figcaption>Equipment</figcaption>
</figure></a>
<a href="about.html" class="biglink">
<figure>
<img src="img/skull.jpg" alt="About">
<figcaption>About</figcaption>
</figure>
</a>
<a href="contact.html" class="biglink">
<figure>
<img src="img/manuscript.jpg" alt="Contact">
<figcaption>Contact</figcaption>
</figure>
</a>
</main>
<script>
const navi = document.getElementById('navibar');
function buttAct() {
navi.classList.toggle('show');
event.target.classList.toggle('show');
}
</script>
</body>
</html>