GPORG Reloaded – 2023
I relaunched GPORG just in time for 2024. What I did. Why I did it. How I did it. When I did it. Etc.
I relaunched GPORG just in time for 2024. What I did. Why I did it. How I did it. When I did it. Etc.
Just checked the locally hosted version of GPORG on my computer and found that none of the fonts, etc were loading and the CSS that was supposed to render after the JS finished loading didn’t. 🤔 Checked the console and found that some of the CSS was being blocked by the new(ish) CSP rules I had set up. Wut. I opened my editor, checked the .htaccess file where I keep the rules, and IT WAS GONE. 😱 Not sure what removed it, but I found through my git client that SOMETHING had removed it for some reason. Aaaand all I had to do was discard the changes, and bam 💥, all fixed.
Remember this? I’m glad other people find this annoying as well! (◕‿◕✿) Don’t validate on the keyup/keydown event–do it on the blur event (if using JS)! Or how to validate forms the correct way with CSS.
What it was like to make the jump from Big Sur to Monterey, through webdev lenses!