Until September of last year, my open-mic event would circulate bulletins using a manually-maintained Gmail list. This is not designed to send 50-plus messages at once and the system eventually refused to send certain ones. So it was time to set up a more modern self-service system, and here’s the entry about what happened at the time.

For GDPR compliance, we also needed to set up a basic website to allow members to join and leave. Our Web server would then deal with the request automatically. I found an open-source template online and stripped it down to suit our needs. Everything else on the website was initially a secondary concern, but we’ve slowly expanded the content to include event times, standards of behaviour and the latest bulletin.

While running a link check, I spotted six broken ones. They weren’t important, merely referring to fonts that weren’t in use on the site, but I wanted to understand the errors and fix them.

It transpired that our site was referencing two separate Cascading Style Sheet (CSS) documents. These are used to define the visual appearance and layout of a Web page, including the colours, fonts, spacing and positioning of elements. Worse, the two documents contained some contradictory information, so the functionality of the website could change or break depending on the order in which the instructions were executed.

Combined with a little sloppy HTML syntax, the browser was doing some heavy lifting to correct the errors silently behind the scenes. Remembering the experience of the distribution list, I didn’t want this to collapse as well.

I used to be a lot more interested in computing than I am now, so much of my coding knowledge has left me. But I spent the weekend combining the two sheets and figuring out what could and should be removed. I relied heavily on user questions from Stack Overflow, the output from code validation websites and even ChatGPT to write snippets of code or check what I’d written.

Ultimately, a total of 7,800 lines of CSS code were reduced to less than 160 lines by Sunday night. The resulting Hotchpotch website is still incredibly static and basic, but it fits the bill precisely.

I then had the impetus to revamp an existing website for a small writing class I’ve been running. This time, I used authoring software for the general look and feel, then made small revisions to the code by hand with my newfound knowledge. The Placing Your Mark website is much more dynamic than its Hotchpotch cousin, although I might one day harmonise their respective designs.

Meanwhile, with the bank holiday weekend over, I’m excited to get back to writing words and sentences rather than syntax and semicolons.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.