I am trying to implement an add or remove class feature in JavaScript, but I'm facing some issues with it.
Below is the code snippet I have:
if (window.location.hash == "#/profile/"){
document.getElementById("tabMenu").removeClass("bottomTabs").addClass("hidden");
} else{
document.getElementById("tabMenu").className += "show";
};