Read the source code selected for upload with JavaScript
In this article we will see a very simple solution to preview the source code uploaded in a form with JavaScript. This is a very practical solution in different contexts.
Creating a PDF upload preview with JavaScript
In this article we’ll see how to create a preview of a PDF file selected for upload using the PDF.js library. This is an interoperable solution that works in various scenarios.
Creating an image upload preview with JavaScript
In this article we’ll see how to create an image upload preview in JavaScript by leveraging the features of the FileReader class.
Implementing a minimal dashboard with drag and drop in JavaScript
In this article we’ll demonstrate the implementation of a minimal dashboard where the added widgets can be dragged across the visual grid.
Implementing a kanban grid with native drag and drop in JavaScript
A kanban grid is based on drag and drop, allowing items to be moved from one column to another. In this article we’ll see how to implement the JavaScript code needed to handle this type of component.
Send analytics with navigator.sendBeacon() without blocking the page
A common problem when sending statistical (analytics) data to the server from the frontend is that when using AJAX, you often end up blocking the page load. Fortunately, there’s a native solution.