We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cfab52 commit 404f297Copy full SHA for 404f297
Youtube Clone/script.js
@@ -1,9 +1 @@
1
-document.addEventListener("DOMContentLoaded", function () {
2
- const toggleButton = document.getElementById("toggleButton");
3
- const linksContainer = document.querySelector(".links");
4
-
5
- toggleButton.addEventListener("click", function () {
6
- linksContainer.style.maxHeight =
7
- linksContainer.style.maxHeight === "px" ? "200px" : "0px";
8
- });
9
-});
+s;
0 commit comments