So I managed to make it work. A friend helped out and we put an event listener.
function menuanim(){
if($(".menu-cont").hasClass("menu-active")){
$(".menu-cont").removeClass("menu-active");
$(".menu-cont").addClass("menu-inactive");
}
else{
$(".menu-cont").removeClass("menu-inactive");
$(".menu-cont").addClass("menu-active");
}
}
I also added the script/jquery on the footer and it’s working but not showing on the site, as seen in the image above. Not complaining but just curious if anyone knows why this happens and if it’s common.
Thanks for the assistance all,