
Abdul D. answered 11/08/21
Software Engineer at FCB Health
You wouldn't normally use JavaScript or jQuery for a responsive navigation menu. The only instances I can think of off the top of my head are when working with React. You'd make your navigation yet another component, but even then when rendering it's just HTML and CSS. JavaScript is more for interactivity (think forms, buttons that make menus appear, online games, etc.). The best skill in a developer is knowing the right tool for the job.
EDIT:
CSS is better for so many reasons. Take a look at the link below for more info on this topic:
https://moz.com/community/q/topic/29081/css-vs-javascript-vs-jquery-drop-down-navigation