function change () {
  let BackgroundColor="RED";
  let elements = document.getElementsByClassName("top-menu")
     for (let i = 0; i < elements.length; i++) {
         elements[i].style.background=BackgroundColor;
     }
}
