public/js/app.js
/* Toggle between showing and hiding the navigation menu links when the user clicks on the hamburger menu / bar icon */
Toggle between showing and hiding the navigation menu links when the user clicks on the hamburger menu / bar icon
Toggle between showing and hiding the navigation menu links when the user clicks on the hamburger menu / bar icon
function navBarFunc() {
  var x = document.getElementById("navLinks");
  if (x.style.display === "block") {
    x.style.display = "none";
  } else {
    x.style.display = "block";
  }
}
function navBarFunc ( ) { var x = document . getElementById ( "navLinks" ) ; if ( x . style . display === "block" ) { x . style . display = "none" ; } else { x . style . display = "block" ; } }
Toggle between showing and hiding the navigation menu links when the user clicks on the hamburger menu / bar icon
Toggle between showing and hiding the navigation menu links when the user clicks on the hamburger menu / bar icon