Jared Toporek: "Think that web form has got your number? If you used input type=number, you may be surprised to find that it doesn't." I won’t pretend to be the expert on all things related to forms. However I will say this: of all the difficult, unconventional, and unusual requirements I’ve been asked to deliver … Continue reading Why the number input is the worst input
I finally decided to wear my hearing loss rather than hide it
Nick Button at The Guardian: I was also exhausted: exhausted at missing out on the nuances of conversation; exhausted from asking people to repeat themselves and always feeling the need to apologise; exhausted at missing out on song lyrics; exhausted by feeling irritated at competing with other voices; exhausted at finding my way through distortions … Continue reading I finally decided to wear my hearing loss rather than hide it
Convenient Git defaults that aren’t defaults
Almost all the time, my Git branch upstream will be origin, and being prompted to git push --set-upstream origin branchname is tedious. To set this and forget it, run: git config —global push.default current 🥳
Hacky CSS Selectors
With CSS, for years now, I thought that we could only use an element once as a selector to increase the overall specificity. e.g. .my-class to div .my-class. However, I learnt very recently that we can repeat selectors more than once and it adds to the specificity value, as each is matched individually (it made sense when I … Continue reading Hacky CSS Selectors