Matt Dawkins·Jun 14, 2023Tips on code refactoringHow do you keep an old project alive? How do you fix your past mistakes? Here are some tips to help you refactor your code.
Matt Dawkins·Apr 21, 2023Using data attributes instead of CSS classesInstead of filling our elements with multiple CSS classes, custom data attributes can make our HTML markup clearer and just as powerful.A response icon7A response icon7
Matt Dawkins·Apr 14, 2023Shedding some light on dark modeWhat’s the best way to build a web site with a “dark mode”? Let’s look at a couple of CSS and JavaScript solutions, including using HSL.
Matt Dawkins·Apr 6, 2023Hero sections — accessible, semantic and performantDon’t settle for a CSS background image on a div. There’s a better way.A response icon1A response icon1
Matt Dawkins·Mar 27, 2023“Above the fold” on the web — does it matter?The hard truth is this — you’re more likely to read this intro than what’s at the bottom of the page. But what about that bit of content…