SWStella Wanjainstylades.hashnode.dev·Feb 14 · 6 min readGetting Started with HTML5 Canvas APILately, I’ve been exploring the world of creative coding, from watching videos of developers showcasing mind-blowing projects to reading articles on it. And in my curiosity to jump on the bandwagon, I decided to give it a try, as someone who loves bo...00
SWStella Wanjainstylades.hashnode.dev·May 26, 2025 · 5 min readJavaScript ClosuresFor as long as I can remember, JavaScript closures have always seemed to be a hard concept to grasp. Yet, without realizing it, I often came across closures in JavaScript code. From event handlers to currying, closures are common in JavaScript. But w...00
SWStella Wanjainstylades.hashnode.dev·Apr 3, 2025 · 6 min readDark / Light Toggle Mode in NextJSImplementing a dark/light toggle mode in web applications greatly enhances user experience by respecting users' preferences and comfort. In this article, we’ll explore how to add this feature to a NextJS web application and create an effect like the ...00
SWStella Wanjainstylades.hashnode.dev·Jul 29, 2024 · 4 min readProps vs State in ReactProps and states can be confusing when learning React. What's the difference between them? When should you use props, and when should you use states? In this article, we will explore these questions and, hopefully, clear up the confusion. Props Props...00
SWStella Wanjainstylades.hashnode.dev·Feb 16, 2024 · 3 min readHoisting in JavaScriptIn this article, we'll look into what hoisting in JavaScript really is. What is hoisting? Hoisting is a concept or behavior that exists in languages such as JavaScript, where function and variable declarations are moved to the top of their scope befo...00