Web Developer Notes - Page 2
Classic WordPress widget (plugin) of NBU exchange rates (Ukraine)
Last updated: 24.03.2026
Views: 326
WP Currency NBU - classic NBU (National Bank of Ukraine) exchange rate widget for WordPress. The widget displays the USD (US Dollar), EUR (Euro), PLN (Polish Zloty) exchange rate. You can configure the output of a particular currency independently through the admin panel. For example, if you do not need the output of the Polish zloty, you can hide it using the settings in the admin panel. The plug...
Longwave Radio (LW / LF)
Last updated: 29.03.2026
Views: 476
Longwave (LW) is a radio frequency band characterized by very low frequencies and extremely long wavelengths. Depending on the language and technical context, you may encounter different abbreviations:
LW (Long Wave) — common English-language term
LF (Low Frequency) — official ITU classification
ДВ — Russian abbreviation (“Long Waves”)
GO (Grandes Ondes) — French term
In technical...
Working with Cookies in JavaScript
Last updated: 09.02.2026
Views: 315
Сookie (web cookie or browser cookie) is a string of information that can be stored in a browser and sent to the server.
The maximum size for one cookie is 4096 bytes. The number of cookies for one domain can be from 20 to 242, depending on the browser.
Cookies are written as a string, but on a key-to-value basis.
[js]document.cookie = "username=John Brown";[/js]
Cookies may contai...
Finding the Distance Between Two Points on a Map Using JavaScript (TypeScript)
Last updated: 04.01.2026
Views: 541
If you have the coordinates of two points on a map, calculating the distance between them is a fairly straightforward task. This type of calculation is commonly used in mapping applications, delivery services, navigation systems, and location-based features. In this example, we will focus on determining the distance using geographic coordinates such as latitude and longitude. These values allow us...
Converting an Image to Base64 Using JavaScript
Last updated: 08.05.2026
Views: 353
Converting an image to a Base64 string in JavaScript can be extremely useful in many modern web development scenarios. One of the most common reasons for using Base64 is to send image data through an API, where binary files might not be accepted directly. Base64 is also convenient when you want to display a preview of an uploaded image before sending it to the server. Instead of uploading the file...