Make sure you run the javascript code only when the document is ready-
$( document ).ready(function() {
$('.hamburger').on('click', function(e) {
e.preventDefault();
$('.menu').toggleClass('slide-down');
});
});
1
solved How to make that responsive hamburger menu work? It just doesnt