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