Whether you need site breakpoints for matchMedia or access to theme colors, sharing values between your JavaScript and CSS is sometimes unavoidable. The easiest solution is to copy and paste values, but how can you ensure values stay synchronized when that brand blue color changes to indigo?
Read more
of Share variables between JavaScript and CSS
→
I’ve been posting a new article every day this month, and it’s been interesting. I’ll write about that soon, but today I want to share how I put these posts together. Hopefully, you’ll learn something new from my process, or see how terrible my process is and give me some advice.
If a problem is too difficult to solve on our own, sometimes the only course of action is to search, copy, and paste. It’s something all developers have done regardless of their experience level.
Read more
of Understand the context of code you copy
→
There are some amazing web development blogs out there (Smashing Magazine, CSS-Tricks and Codrops come to mind), but today I want to pay homage to the humble personal blog. Here are some of my favorite web developer blogs in no particular order:
When I started my first job as a professional developer, one of my biggest challenges was learning how to create helpful pull requests. I had been using git for a few years at that point, but my experience was limited to merging and pushing directly to the default remote branch. As a result, my first code reviews were fraught with answering questions, rewriting code, and (gulp) interactive rebasing.
Read more
of How to get your pull request merged
→
I build pages with both React and non-React components, and sometimes all these components need to talk to each other. Examples include opening a React modal when a customer clicks a button or updating a text block when a customer adds a product from a React stepper. There are many ways to do this, but in my opinion, the best way is to use custom events.
Read more
of Talk to your React components with custom events
→
I’m a huge fan of continuing education, and one of the ways I binge on information is through podcasts. Here’s a list of 11 podcasts that I find not only educational but entertaining as well.
Read more
of 11 podcasts for the frontend developer
→
Developers don’t write code for computers. I mean, we do, but not primarily. If we did, it would make no difference whether we wrote in Java, bytecode, or complete binary. Yet when given a choice, we write in abstractions because developers write code for other developers.