Skip to content

Instantly share code, notes, and snippets.

@franklinbaldo
Created April 28, 2026 11:16
Show Gist options
  • Select an option

  • Save franklinbaldo/0d2d600af3b2dd7a58a39ac64d4ae1cf to your computer and use it in GitHub Desktop.

Select an option

Save franklinbaldo/0d2d600af3b2dd7a58a39ac64d4ae1cf to your computer and use it in GitHub Desktop.
<!doctype html><html><head><meta charset="utf-8"><title>Clock</title></head>
<body style="font:48px/1.4 ui-monospace,monospace;text-align:center;padding:48px;background:#111;color:#0f0;">
<div id="t"></div>
<script>
function tick(){document.getElementById('t').textContent=new Date().toLocaleString('pt-BR');}
tick(); setInterval(tick,1000);
</script>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment