My dropdown menu works, but essentially my menu button is what I'm using as the event for showing the menu, and i set it up so when you hover over the menu, it stays open but if you just hover over the button and then move your mouse without touching the menu with your mouse, it stays open and doesn't close.
function showMenu(){
document.getElementById("dropdown-menu").style.display = "block";
}
function hideMenu(){
document.getElementById("dropdown-menu").style.display = "none";
}