Create an Automatic Night Mode on your website

Thanks to a very simple piece of JavaScript code, you can change the (background) colour of your website to reflect the time of day. Your website visitors will see a different version of your website: a dark mode during evening/nights, and a white/bright mode during the day. Here are the steps to follow to have Keep reading →

 

WebRTC in a Nutshell

In a world where almost everyone has a smartphone (or any other smart device, e.g. a smartwatch), the customer is spending an increasing amount of time online such as in the web browser or on mobile apps. Consumer-grade solutions for real-time audio-visual and textual communication are widely available and popular among audiences of all ages. Examples Keep reading →

 

Add falling snow to your website

It’s Christmas time: let’s make it snow! It’s this time of the year again: Christmas and New Year. Maybe you’ve seen on some sites that the website owner/designer has added a nice snow effect on their webpages. The snow overlay gives a nice, cosy feeling to the visitor. And you may have thought: how did Keep reading →

 

Adding a print option on your HTML page

Companies and individuals are doing great efforts to print less and “go green”. However, as a web developer, you may still want to add a print option on your website. Printing out a webpage is still often used on some types of website, so offering an easy to use button or link is a good Keep reading →

 

Making a div element clickable in HTML

To make an element, for example a <div>, clickable in HTML, you can use the following code: We simply add the onlcick event and add a location to it. Then, additionally and optionally, we add a cursor: pointer to indicate to the user the div is clickable. This will make the whole div clickable. Making Keep reading →