text: document.addEventListener("DOMContentLoaded",(()=>{console.log("Hello Bulma!")}));const hamburger=document.querySelector(".hamburger"),navMenu=document.querySelector(".nav-menu");function mobileMenu(){hamburger.classList.toggle("active"),navMenu.classList.toggle("active")}hamburger.addEventListener("click",mobileMenu);
  
  
  // Change color of form card
  function changeColor() {
      var element = document.getElementById("form__card");
      element.classList.toggle("differentstyle");
    }
  
    // Drugi primjer
    function changeColour2(value)
  {
      var color = document.getElementById("form__card2").style.backgroundColor;
      switch(value)
      {
          case 'a':
              color = "#f3fcd1";
          break;
          case 'b':
              color = "#edfabf";
          break;
          case 'c':
              color = "#d8ee8a";
          break;
          case 'd':
              color = "#d6ee82";
          break;
          case 'e':
              color = "#aec461";
          break;
          case 'f':
              color = "#94a35b";
          break;
          case 'g':
              color = "#bbd165";
          break;
      }
      document.getElementById("form__card2").style.backgroundColor = color;
  }