Published: June 19, 2023
Keepin' it Simple: Writing Vanilla CSS and JavaScript Only
You know what's cool about writing vanilla CSS and JavaScript, and NOT using minification tools?
Why is this cool?
Others - especially new/junior devs - can come along and easily inspect your code to learn from it.
As an example, here's a very simple (and silly) game I wrote in about 50 lines of JavaScript and about 200 lines of CSS.
- JS is here: https://tapper.mark.ie/script.js
- CSS is here: https://tapper.mark.ie/style.css
Enjoy learning (or filing a PR to make the game better)!
Compare the simplicity of that, with trying to figure out what CSS classes are what, and what JS does X or Y or Z on my blog site (built with React/Gatsby + Drupal)