Update index.html
Browse files- index.html +7 -5
index.html
CHANGED
|
@@ -17,11 +17,13 @@
|
|
| 17 |
</p>
|
| 18 |
</div>
|
| 19 |
<script>
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
}
|
|
|
|
|
|
|
| 25 |
|
| 26 |
</script>
|
| 27 |
</body>
|
|
|
|
| 17 |
</p>
|
| 18 |
</div>
|
| 19 |
<script>
|
| 20 |
+
function hideHeader () {
|
| 21 |
+
const header = document.querySelector("header");
|
| 22 |
+
header.style.display = "none";
|
| 23 |
+
alert("Hiding")
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
setTimeout(hideHeader, 2000)
|
| 27 |
|
| 28 |
</script>
|
| 29 |
</body>
|