Home > Designing, Others > A Complete State Machine Made With HTML Checkboxes and CSS

A Complete State Machine Made With HTML Checkboxes and CSS

November 27th, 2020 Leave a comment Go to comments

State machines are typically expressed on the web in JavaScript and often through the popular XState library. But the concept of a state machine is adaptable to just about any language, including, amazingly, HTML and CSS. In this article, we’re going to do exactly that. I recently built a website that included a “no client JavaScript” constraint and I needed one particular unique interactive feature.

The key to all this is using and elements to hold a state. That state is toggled or reset with another radio or reset

Categories: Designing, Others Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.