Small interactions

JavaScript is best when it supports the reader. For a tutorial site, the most useful interactions are things like saving preferences (theme), quick navigation, and small helpers that don’t get in the way.

Theme preference

The theme button in the menu is saved in your browser.

Quick prompt

Save a display name (stored locally in your browser).

Name:

Variables

Back to posts