Web Developer Notes - Page 6
How to Make Asynchronous Requests in a Loop in JavaScript
Last updated: 10.10.2025
Views: 535
Implementing asynchronous requests inside a JavaScript loop may not seem obvious at first. When making asynchronous requests inside a JavaScript loop, it is important to handle them correctly. This can be done in different ways. In this post, we will look at 2 ways.
Parallel Requests with Promise.all() (Fastest)
If the requests are independent and can be executed in parallel, use Promise.all(). ...
Infinite Rotation with CSS Animation
Last updated: 07.04.2026
Views: 511
One simple yet effective technique is creating an infinitely rotating element. This kind of animation can be used to attract attention to specific parts of a page, such as icons, loaders, or interactive elements. It is often used in UI design to indicate ongoing processes or to add a subtle dynamic touch to otherwise static content.
Implementing continuous rotation with CSS is quite straightfor...
How to Detect the Operating System (OS) Using JavaScript
Last updated: 02.04.2026
Views: 588
Sometimes it is necessary to detect the user’s operating system when building web applications or websites. This can be useful for applying different CSS styles, collecting analytics data, or adapting certain features depending on the user’s environment. While there are many libraries and plugins available for OS detection, in simple cases it is вполне possible to implement this functionality with...
How to Install and Delete XAMPP on Linux (Ubuntu)
Last updated: 26.10.2025
Views: 507
XAMPP is a web development server build. This software is cross-platform, there are versions for Linux, Windows and Mac. The build includes Apache, PHP, MariaDB, phpMyAdmin.
The project is constantly evolving. You can download XAMPP at www.apachefriends.org/download.html
Installation
After downloading the package, let's set the rights.
[bash]
sudo chmod 755 xampp-linux-*-installer.run
[/...
Smooth Scrolling to Anchor Using JavaScript
Last updated: 06.04.2026
Views: 445
Smooth scrolling is a popular web design feature that enhances user experience by allowing seamless navigation between sections of a webpage. Instead of abrupt jumps, smooth scrolling creates a fluid transition, making interactions feel more natural and visually appealing.
This technique is especially common on landing pages, where navigation links often point to different sections of the same ...