How can I transform a horizontal navigation row with dropdown menu items into a vertically stacked accordion-style nav when the screen size decreases?
I prefer the accordion stacking functionality over converting it to a burger menu. However, I'm struggling to implement this due to my limited knowledge of Bootstrap.
I'm unsure whether I should use media queries in CSS or a combination of JavaScript functions. Should I also consider using a different type of navigation style instead of Bootstrap's "pill" navigation?
If anyone has any suggestions or guidance on how to achieve this, please let me know! Much appreciated!
<!doctype html>
<html>
<head>
...