JavaScript


How to Convert a Date String to Timestamp in JavaScript?

Different ways of converting a date string to a timestamp in JavaScript.

javascripttimestamp

How to Get the Difference Between Two JavaScript Objects

Get the list of the keys that are different between two objects using the Lodash isEqual method.

javascriptobject-methodsweb-development

How to Make a JavaScript Function Wait Until an Element Exists Before Running it?

javascriptwebdev

Object Literals Using Object Property Shorthand

How the object property shorthand in JavaScript makes our code concise.

javascriptobject-literalsobject-methods

Advanced Page Transitions in Next.js with Router Events and GSAP

nextjsreactgsap

Build a Custom Theme Provider Using React's Context API

Add support for switching themes in your React App - no libraries, from scratch, in a simple way. All we need is React's Context API and CSS.

reacttypescriptcss

Enable HTTPS for Localhost During Local Development in Node.js

A tutorial on how to go from http://localhost:PORT to https://localhost:PORT.

javascriptnodejssecurity

How to Sort Alphanumeric Strings with JavaScript?

A guide on sorting alphanumeric strings with JavaScript.

javascript

Advanced TypeScript: Type-Level Nested Object Paths

A Real-world use case of Conditional Types, Type Inference, Template Literal Types, and Recursion.

javascriptreactprogramming

How to Track the Element’s Visibility in Angular

An alternative way of tracking the element’s visibility.

angularjavascript