Better HN
topnewbestaskshowjobs
Log inSign up

MonadicSystems

3 karma · joined Jul 2, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

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'">