Mark Hall's Webdevblog
Articles Listing

2025-06-10
Busting Myths with Code #1: The Zodiac Killers

Sometimes I stumble upon some dubious piece of information online. Usually a quick google search will bring up a fact check that solidly refutes it. But that's boring. I'm a programmer. So I want to bust these myths myself... with the power of code!

I remember one day I saw on social media something that showed how many of the most infamous serial killers happened to be which Zodiac sign. Apparently 40 percent of serial killers are Cancer, Pisces, Sagittarius, and Scorpio. So I was a little shocked. That does seem like an unusually large number of people in a small number of signs. Also, I'm a little offended because I'm a Scorpio. I mean, I haven't even killed one person... yet.

Read more

2025-02-03
Creating a Perfect HTML Form Field

On one side is your web server. On the other side are a bunch of human beings. What is the interface between those sides to gather information from these humans? HTML forms.

It's easy enough to create an HTML form and hook it up to a backend script to process the data, but from a usability standpoint, there are many things to consider to make your form fields as quick and easy to use as possible. Around half of your traffic is likely to be on mobile devices as well. Since filling out fields on phones is much slower than with a mouse and keyboard, these days it's more important than ever that your form fields are optimized.

Let's go from the simplest possible starting point...

Read more