In this article, we will discuss how to lazy loading CSS and Javascript files to improve web page speed by, including important considerations. We will adopt a method which the files targeted for lazy loading are loaded when the user scrolls. Advantages of Lazy Loading While visitors to this article may already be familiar with […]
Posts in August 2023
[JavaScript] Multiple Events to Multiple Elements
In this article, we will discuss how to add multiple event listeners to multiple elements using plain JavaScript. Desired outcome If you use jQuery, you can write as below to add multiple event listeners to multiple elements. So you may be tempted to write as below when try to replace it with plain Javacript. But […]