Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Make And Use A JavaScript Module Directly Inside A Single HTML File

I like writing completely self contained files in my notes that publish and work directly on my site without additional build steps or processing. I'm also moving more and more to using JavaScript modules for things. It took a bit to figure out how to combine those two since modules usually come as separate files.

Here's what I'm doing :

Details

With all that in place I can write a single file that includes the module directly. I really like the approach.

Footnotes And References