Simple Animated Dark-Light Theme Switch for Your Website

In recent years, the demand for dark mode 🌗 options in web design has surged, driven by its aesthetic appeal and potential benefits for user experience. Dark mode not only reduces eye strain, especially in low-light environments, but it also conserves battery life 🔋 on devices with OLED screens.

dark light theme switch

Continue reading “Simple Animated Dark-Light Theme Switch for Your Website”

Scroll Back to Top Button With Progress Bar Indicator

The Back to Top ↑ button is a useful user interface element commonly found on web pages, particularly those with long scrolling content. This button allows users to quickly return to the top of the page with a single click, improving navigation efficiency and overall user experience.

back to top progressbar demo
Visit Rubikscu.be for the live demo.

Continue reading “Scroll Back to Top Button With Progress Bar Indicator”

Get URL Parameters With JavaScript

Using URL parameters is probably the easiest way of passing variables from one webpage to the other. In this article I’m going to present how to get a URL parameter with JavaScript.