There are no tracking or monitoring cookies on this site. There are only cookies used for documentation examples related to cookies.

This may take a few seconds.

Simple clock

Basic clock with reactive variable

The Active CSS "draw" event is triggered when any element is first drawn on the page.
When the "clockTime" variable changes every second, it re-draws automatically.
The double curlies around clockTime means "re-draw when the variable changes".
Only the content drawn in variable placeholders is updated, never the whole HTML tag.
(Reactive variables can also be placed inside attributes.)