JavaScript

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.

September 10, 2025
JavaScript

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.

September 10, 2025
JavaScript

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.

September 1, 2025
JavaScript

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.

August 20, 2025
JavaScript

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.

August 20, 2025
JavaScript

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.

August 17, 2025