Implementing Text Overflow and Show More/Less in HTML & CSSI recently came across a use-case related to Text Overflow in CSS & i just thought to document it. Lets understand the use case I had to render text inside one of the HTML elements. The conditions were I can show a maximum of three lines of text at ...Jan 17, 2025 路 3 min readdevvarun.hashnode.dev
Hoisting in JavaScript: The Simple Concept That Can Trick YouHoisting is one of the most commonly asked JavaScript interview questions, often considered a beginner-friendly concept. However, its behaviour can be deceptive, leading even seasoned developers into traps. What is Hoisting? Hoisting in JavaScript is...Dec 23, 2024 路 3 min readdevvarun.hashnode.dev
Why 100% Code Coverage Won't Save Your CodebaseCode coverage is one of the most frequently discussed metrics in software development. It鈥檚 easy to see why鈥攈aving a high percentage of tested code feels like a badge of honor for any team. But here鈥檚 the harsh truth: code coverage alone doesn鈥檛 ensu...Nov 17, 2024 路 3 min readdevvarun.hashnode.dev
Closures in JavaScript: What They Are and Why They MatterIn the vast world of JavaScript, closures stand out as one of the most powerful and intriguing concepts. Whether you're a seasoned developer or just starting your coding journey, understanding closures is essential for mastering JavaScript. In this b...Jul 12, 2024 路 6 min readdevvarun.hashnode.dev
Understanding JavaScript Debounce vs Throttle for Better App EfficiencyOptimise your apps with confidence 馃槑 Introduction In the fast-paced world of web development, performance and efficiency are paramount. When building interactive applications, it's common to encounter events that fire frequently, such as window resi...May 23, 2024 路 5 min readdevvarun.hashnode.dev