<reponame>J0rgeSerran0/j0rgeserran0.github.io<filename>js/burger-menu.js<gh_stars>0
(function() {

  "use strict";

  var burgerMenuIcon = $("#burger-menu-icon");
  var mainNav = $("#main-nav")
  
  burgerMenuIcon.on( "click", function(e) {
    e.preventDefault();
    if(mainNav.hasClass("is-active")){
      mainNav.removeClass("is-active");
      burgerMenuIcon.removeClass('is-active');
    }else{
      mainNav.addClass("is-active");
      burgerMenuIcon.addClass("is-active");
    }
  });


})();