Fucking #JavaScript
I have some functions in a module: https://github.com/pikesley/carbwire/blob/main/site/public/js/carbwire.js
Putting them in a nice module like this means I can write tests for them https://github.com/pikesley/carbwire/blob/main/site/tests/carbwire.test.js and pretend to be a proper software engineer
So my question is, HOW THE FUCK DO I USE THESE FUNCTIONS CLIENT-SIDE?
I have a horrible feeling the answer involves fucking #webpack or some shit
OK I fixed it by doing the "correct(?)" thing of attaching a `submit` eventListener to the form: https://github.com/pikesley/carbwire/blob/main/site/src/pages/index.astro#L38
and now I have a working form: https://carbwire.netlify.app/
Now, I just need to Draw The Rest Of The Fucking Owl