-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (33 loc) · 978 Bytes
/
index.html
File metadata and controls
38 lines (33 loc) · 978 Bytes
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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://fonts.googleapis.com/css2?family=Numans&display=swap"
rel="stylesheet"
/>
<title>ToDO Pattern</title>
</head>
<body>
<header class="header">
<a onClick="navigation('/')">
<h2>ToDo Pattern</h2>
</a>
<div class="hamburguer">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</header>
<aside class="aside-filtros"></aside>
<main id="root"></main>
<script>
const divHamburguer = document.querySelector("div.hamburguer");
divHamburguer.addEventListener("click", (e) => {
const aside = document.querySelector(".aside-filtros");
aside.style.display = aside.style.display === "none" ? "block" : "none";
});
</script>
</body>
</html>