Clock made with mainly css except for a tiny piece of canvas. The animation is purely css.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { VirtualTypeScriptEnvironment } from "@typescript/vfs"; | |
import { CompilerOptions } from "typescript"; | |
enum ModuleResolutionKind { | |
Classic = 1, | |
NodeJs = 2, | |
} | |
importScripts("https://unpkg.com/@typescript/[email protected]/dist/vfs.globals.js"); | |
importScripts( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function () { | |
"use strict"; | |
// for better performance - to avoid searching in DOM | |
var content = $('#content'); | |
var input = $('#input'); | |
var status = $('#status'); | |
// my color assigned by the server | |
var myColor = false; |