Things About Web Development
Share my journey, learning and insights in web development
Naming with Acronyms in PascalCase and camelCase
December 07, 2024
The challenges of naming, especially dealing acronyms. How will you name "xml http request", "new customer id", "supports IPv6 on iOS", "YouTube importer" in PascalCase / camelCase?
Implementing Dark Mode and Theme Switching using Tailwind v4 and Next.js
December 01, 2024
Dark mode support has become a fundamental aspect of modern web applications, and I recently tackled this feature for my personal blog using Tailwind CSS v4 beta with Next.js 15. In this article, I'll walk through my journey of implementing a dynamic theme toggle, share my learnings of both frameworks.'
Things You May Not Know About CSS Variables - 2. Using var() and Cool Examples
November 15, 2024
Dark mode support has become a fundamental aspect of modern web applications, and I recently tackled this feature for my personal blog using Tailwind CSS v4 beta with Next.js 15.
Thing You May Not Know About CSS Variables - 1. Naming Rules and Value Assignments
November 07, 2024
In my exploration of CSS variables, I discovered a lot of exciting potential and subtle details that aren’t always apparent at first glance. Like many developers, I initially used CSS variables in simple, straightforward ways, rarely encountering edge cases. This approach is common and effective for many purposes, but it means theres a lot more to explore and experiment with. In my view, gaining a deeper understanding of CSS variable naming rules and valid value assignments can significantly expand the range and flexibility of their applications.
Browser Default Cache Freshness
September 29, 2024
How do browsers determine whether to cache resources by default? What happens to our resources when cache settings are not manually configured?