HTML has been gobbling up swathes of what used to be JavaScript’s remit. This page lists a bunch of dynamic functionality that we can now achieve with just HTML.

  • Hugh@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    13 days ago

    Thanks for sharing I didn’t know about these features. I recently uploaded some photos to my web server. At the moment they all load at once when you open the page. It’s only 14mb but not ideal if you’re on a slow connection. I might try lazy loading for thumbnails and modals for viewing the higher res versions.

    Interestingly the datalist element seems to work on desktop but not on mobile, despite both running firefox 154.0