My principle for web design is to do what I need it to do, to look alright on most devices, to be as simple as possible, and not to be unnecessarily slow. I tend to minimise use of javascript, and mainly use bootstrap css. I do use python (flask) for some of the components, which is served by Amazon Web Services (AWS) as my primary web provider doesn't offer python.

Code snippets

In the section below, I have included bits of code from my website below, mainly for my own reference, but other people might find them of interest. The code itself is commented out, so you will need to look at the source code to see it.

Javascript for bootstrap (not used on most of my pages)
Katex for displaying equations