artydev commited on
Commit
6c97381
·
verified ·
1 Parent(s): f3dc482

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +4 -1
index.html CHANGED
@@ -17,9 +17,12 @@
17
  </p>
18
  </div>
19
  <script>
20
- const header = document.querySelector("header");
 
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>