I think it’s fair to say dark mode is one of 2019’s biggest design patterns, especially amongst developers. Despite it’s popularity, dark mode implementation can be iffy, especially on static sites and non JavaScript-based apps where dark mode is more likely to be found.
I was working on finishing and auditing a website today and realised, over the course of at least the past three+ years, I have been a lazy developer. Either that or the checklist of to-dos and things to check have exponentially increased, which would actually not surprise me considering how much has changed in web development in the past few years. Actually, the big thing I realised today was that I really need to use conditionals more.
Displaying data in WordPress often involves more than just echoing. I mean, echo will work and display output just fine, but if you want to make sure your code is as secure as possible, it’s always a good idea to attempt to clean whatever data you are using first.
I’ve built quite a few websites based on other people’s designs, and along the way I’ve stumbled across a few common issues that have significantly slowed the overall design to development process. These are some of the things I think are important to look out for when designing for the web.
I work at a small studio with two other people, and more often than not, I work on projects where design and development cross paths. I’ve built a lot of sites on my own, inherited a lot of sites, worked on sites other designers have designed, worked on my own boilerplate code, finished half-finished sites done by other studios, interpreted designs on the fly (especially designs with no mobile versions) and worked on sites collaboratively with other developers.
Ever run into the problem of needing to output data from a PHP loop into separate wrapping divs? You could use the same loop twice to return data into two different divs. Or you could use this is a super handy technique to generate data inside multiple different elements using the same loop.