You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
349 B
JavaScript
8 lines
349 B
JavaScript
// Get the button, and when the user clicks on it, execute myFunction
|
|
//document.getElementById("info-btn").onclick = function() {showInfo()};
|
|
|
|
/* myFunction toggles between adding and removing the show class, which is used to hide and show the dropdown content */
|
|
function showInfo() {
|
|
document.getElementById("info").classList.toggle("show");
|
|
}
|