The coding articles collection contains curated stories, tips, questions and answers on a wide variety of topics. The main focus of these articles revolves around the languages and technologies presented in snippets, as well as career advice and lessons.
Document.elementFromPoint() to easily get the element at a specific point on the page.
currentColor CSS keyword is a nifty alternative to custom properties for simple use cases.
CSS, Visual · Nov 30, 2022
You might have heard that
line-height should be unitless, but do you know why?
CSS, Layout · Nov 27, 2022
A short summary of your story up to 180 characters long.
CSS, Visual · Nov 23, 2022
A quick reference for inherited CSS properties.
CSS, Layout · Nov 20, 2022
A custom data structure to keep track of value frequencies in an array.
A collection of regular expressions that can be used to solve common problems.
Dynamically adding object properties can be pretty slow in some cases. Here's how to optimize it.
Make sure the footer stays at the bottom of the page, instead of floating up when the content is too short.
CSS, Layout · Oct 30, 2022
Did you know that the delay of
setInterval() is merely a suggestion?
A short, opinionated CSS reset to make your websites look great everywhere.
CSS, Visual · Oct 16, 2022