Bootstrap JavaScript Snippets

When working on building websites with Bootstrap I often find myself copying and re-using a bunch of useful little JavaScript snippets to enhance functionality and I thought I&rsquo;d make a quick blog post to share a few of my most used ones. They are all for Bootstrap 5, but could easily be adapted for earlier versions. Open Modal via URL Fragment It can sometimes be useful to have a shareable…