const btns = document.getElementsByClassName("nav-link"); const cookieBtn = document.getElementsByClassName("cookie-btn"); if(window.location.href === "https://eku.opencitieslab.org/dataset"){ btns[1].style.fontWeight = 700; }else{ btns[1].style.fontWeight = "normal"; }