Search Results
Blog Archive
Explore by topic
Leetcode: How to reverse a string
Code:
Leetcode: Search Insert Position
Given a sorted array of distinct integers and a target value, return the index if the target is found. if not, return the index where...
Shallow Copy vs Deep Copy in JavaScript
When working with arrays and objects in JavaScript, it’s crucial to understand the differnce between shallow copying and deep copying. This knowledge can help you...
JS Shortened Notation
JavaScript provides several shortened notations to make your code more concise and efficient. Here are some examples: 1. Property Shorthand: When assigning an object property,...
Codepen Collection
Build Model Popup Mostly CSS Responsive Carousel CSS only Responsive Tables Off-Canvas Navigation Circular modal overlay effects Responsive Movie Card – Dark Version
Dynamic SVG Inject Project: A Practical Example
Scalable Vector Graphics (SVG) are widely used in modern web development due to their scalability, performance, and flexibility. SVG images are resolution-independent, making them perfect...
PDF Builder using `dompdf`
When I am working on a project I need to implement a PDF generator. hear how I approach this feature. 3. Code:
JS: Guide to JavaScript Dates
Working with Date in nay languages is painful so let reduce this pain. JavaScript offers us a date handling functionality through a painfull built-in object:...
JS: Call stack and heap memory in JavaScript
In JavaScript, when we create a variable, function or anything you can think of, the JS engine allocates memory for this and releases it once...