Fixed a strange bug that I added and forgot about.

This commit is contained in:
Jeff MacKinnon 2022-12-22 23:04:35 -04:00
parent c793963c9b
commit b8bc4d8749

View file

@ -141,16 +141,5 @@ $('.gallery').magnificPopup({
}); });
</script> </script>
{% endif %} {% endif %}
<img src=
"https://media.geeksforgeeks.org/wp-content/uploads/20200122115631/GeeksforGeeks210.png"/>
<div>
<button onclick="darkMode()">Darkmode</button>
</div>
<script>
function darkMode() {
var element = document.body;
element.classList.toggle("dark-mode");
}
</script>
</body> </body>
</html> </html>