Javascript

Simple lazy loading of the web

Usually we need to write JavaScript to handle lazy loading of images, usually in the form of a scroll handler or a cross-viewer

How to implement dark mode using CSS and 3 lines of simple Javascript

A must-have feature for most modern websites and web applications is the ability to switch the theme of the website from light mode to dark mode. This feature has gradually become a fashionable supplement to the modern web, and I know how to deal with future projects or existing When implementing it in a project, it will undoubtedly come in handy to implement it

2021 Top Chrome extensions to improve efficiency

I will introduce you to ten Google add-ons that you may not know about improving the efficiency of front-end development. The real advantage of Chrome lies in its huge library of add-ons, which provides it with a steady stream of new features and functions.