Dynamic sidebar menu in only 50 lines? 💯✔🔥🌡#JavaScript

But why unregister the Service Worker?

This JavaScript sidebar menu is a great example of recursion:

I love this quote:

“You will see by the end of this post that this seemingly complicated sidebar is actually under 50 lines of code. What?!” — jsmanifest

🤓 The physical therapist who writes JavaScript 💪 Web Developer 😎 Mentor 🧠 DPT 😄 SEO Expert 😁 React 😆 Jamstack 💬 Ask me anything 👉 DoctorDerek.com 👈

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store