The article provides an example of the HTML Web Components pattern, which involves using a custom element to enhance a regular image with JavaScript. Even if the JavaScript fails to load, the image still displays.

1m read timeFrom simonwillison.net
Post cover image

Sort: