Create a custom select with CSS and JavaScript
In this article we’ll see how to build a custom select element with CSS and JavaScript. This is a solution that fixes the problem of handling select elements only with CSS.
Create a toggle switch with CSS and JavaScript
In this article we’ll see how to build a toggle switch using CSS and JavaScript. This type of component is very popular in web interfaces.
How to create random strings with JavaScript: techniques, trade-offs and best practices
This guide explores practical techniques in both the browser and Node.js, explains where each approach shines, and shows how to avoid subtle pitfalls like bias and insufficient entropy.
Integrating HTML5 geolocation with Google Maps JavaScript API
The integration between the browser’s Geolocation API and Google Maps allows you to build interactive, location-aware experiences.
Implementing drag and drop with native HTML5 APIs
Drag and drop is a common feature in modern interfaces that allows users to reorder elements in an intuitive and direct way.
Date parsing in JavaScript
Date parsing in JavaScript can be simple if the correct conventions are followed. However, for international applications or complex requirements, using external libraries is often the best choice.