Runtime environment variables in Frontend Apps
In this note, i will show you how to use runtime env variables via Javascript Window object
In this note, i will show you how to use runtime env variables via Javascript Window object
Compare offset, cursor, and keyset pagination with SQL and API examples, performance trade-offs, and guidance on choosing an approach.
JavaScript Date cheatsheet: create dates, use getters and setters, compare and format dates, add days or hours, and get the difference between two dates.
Dockerizing a React app allows you to create a portable and consistent development environment. This guide shows you how to Dockerize a React app and run it in a container.
In this article, we will cover some JavaScript snippets that are commonly used in coding interviews. These snippets will help you solve coding problems more efficiently and effectively.
Build a toggle switch with only HTML and CSS, using a checkbox input, the :checked pseudo-class, and the adjacent sibling selector. Includes a demo.
Create a bouncing ball loading animation with only HTML and CSS keyframes, no JavaScript. Includes the full HTML and CSS code to copy.
Create a donut-shaped loading spinner with only HTML and CSS, using a colored border and a rotate keyframes animation. Includes the full code.
How the nullish coalescing operator (??) works in JavaScript, how it differs from logical OR (||) with falsy values like 0 and '', and when to use it.
Sort arrays in JavaScript with sort(): numbers with a compare function, ascending or descending order, strings with localeCompare(), and reverse().