6 ms·
Here's my personal goto: Find some minimal CSS framework. My preference is Skeleton [0] or Bootstrap [1]. The key is just finding something minimal that works
by abetusk 4y ago
Here's my personal goto:
Find some minimal CSS framework. My preference is Skeleton [0] or Bootstrap [1]. The key is just finding something minimal that works without too much fuss. Personally, I rather have a minimal framework provide 'responsiveness' so I don't have to worry about it but I also want it to get out of the way of anything I do.
Use JQuery [2]. Don't rely on CSS for animations or interactivity. In theory CSS does a lot. In practice it's a nightmare to use and to get it play well with whatever else I'm doing in the page.
Write in "bare" HTML and "vanilla" JavaScript. Don't use a static site generator and don't use a JavaScript framework.
Port in JavaScript libraries as needed. Some of the ones I tend to use are numeric.js [3], downlaod.js [4] and audience-minutes [5]. If you're doing spreadsheet things, maybe there's some JS package out there that will help.
Doing "raw" HTML/"vanilla" JavaScript makes me effectively unhirable but for limited scope side projects where I have full control and want to minimize bit-rot, this is fine.
The point is to create something that's minimal and focuses on functionality. The CSS is just there to make it not look like a Web 1.0 page but otherwise steps out of the way to focus on the actual usage of the application.
For context, here are some projects where I've used this philosophy (all open source, feel free to pilfer): Noixer [6], Resonator Voyant Tarot [7], Boston Train Track (now defunct) [8], CalebHarrington.com (an artist friend) [9], What Is This License [10], HSV Hero [11].
[0] http://getskeleton.com/ http://getskeleton.com/
[1] https://getbootstrap.com/ https://getbootstrap.com/
[2] https://jquery.com/ https://jquery.com/
[3] https://github.com/sloisel/numeric https://github.com/sloisel/numeric
[4] https://github.com/rndme/download https://github.com/rndme/download
[5] https://github.com/berthubert/audience-minutes https://github.com/berthubert/audience-minutes
[6] https://mechaelephant.com/noixer/ https://mechaelephant.com/noixer/
[7] https://abetusk.github.io/ResonatorVoyantTarot/ https://abetusk.github.io/ResonatorVoyantTarot/
[8] https://github.com/abetusk/bostontraintrack https://github.com/abetusk/bostontraintrack
[9] https://calebharrington.com/ https://calebharrington.com/
[10] https://mechaelephant.com/whatisthislicense/ https://mechaelephant.com/whatisthislicense/
[11] https://mechaelephant.com/hsvhero https://mechaelephant.com/hsvhero