Replacing JavaScript

– a portal created by John Ankarström

To the user, JavaScript is risky and opaque; to the developer, it is unintuitive and the source of much frustration. This webpage is about replacing JavaScript and improving the web for everyone.

My articles

My examples

Via the so-called “checkbox hack”, CSS is already capable of handling state to a limited extent. In fact, this very index page is proof of that: try to click the minus sign on the right side of every heading.

In the following proofs of concept, the :hover selector is (ab-)used to track the reading process: