HNHacker News
TopNewBestAskShowJobs

MonadicSystems

3 karma · joined July 2, 2022

submissionscomments
MonadicSystems··on Reimagining front-end web development with htmx and hyperscript
You should be able to do this with hyperscript.

    <img src="my_cat.jpg" alt="My cat" _="on click set @src to 'my_other_cat.jpg'">