> the only things on my site that require JS are the "Make the image bigger when you click on it" feature
You could actually do this without JS, just wrap the image in a label for an invisible input, and apply transform with a transition based on :focus or :focus-within.
It would be ugly, sure, but so much of modern front-end development is already ugly.
You could actually do this without JS, just wrap the image in a label for an invisible input, and apply transform with a transition based on :focus or :focus-within.
It would be ugly, sure, but so much of modern front-end development is already ugly.