Javascript Hamburger Menu Toggle
I have been trying to make a responsive navigation bar to use as a template when when working on projects in the future. Ive followed a few tutorials and mashed together what ive l
Solution 1:
$('span.nav-button').click(function {
$('.nav-main ul').toggle();
});
to
$('span.nav-button').click(function() {
$('.nav-main ul').toggle();
});
You forgot to put brackets after function....
Post a Comment for "Javascript Hamburger Menu Toggle"