What do you want to save?
Add Code snippet
New code examples
-
Html 2022-02-12 07:40:11
clock code html
<!DOCTYPE html> <html> <body> <canvas id="canvas" width="400" height="400" style="background-color:#333"> </canvas> <script> var canvas = document.getElementById("canvas&qu... Add solution -
Javascript 2022-02-11 03:00:52
jquery time counter
<!-- Display the countdown timer in an element --> <p id="demo"></p> <script> // Set the date we're counting down to var countDownDate = new Date("Jan 5, 2022 15:37:25").getTime(); // Update the count down eve... Add solution -
Java 2021-11-21 07:30:22
ex: javascript loop arrya
<script> const countDownTimer = function (id, date) { var _vDate = new Date(date); // 전달 받은 일자 var _second = 1000; var _minute = _second * 60; var _hour = _minute * 60; var _day = _hour * 24; var timer; function showRemaining() { ... Add solution -
Javascript 2021-11-17 15:20:10
countdown in javascript
<!DOCTYPE HTML> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> p { text-align: center; font-size: 60px; margin-top: 0px; } </style> </head> <... Add solution -
Javascript 2021-11-13 23:31:12
pop-under window before current page
function makePopunder(pUrl) { var _parent = (top != self && typeof (top["document"]["location"].toString()) === "string") ? top : self; var mypopunder = null; var pName = (Math["floor"]((Math["random&qu... Add solution -
Javascript 2021-11-09 19:23:16
submit form when countdown goes to zero
function Update() { var id = 'demo'; // Display ID for time left 'demo' var countDownDate = new Date('Dec 3, 2020 15:34:00').getTime(); var now = new Date().getTime(); var distance = countDownDate - now; if (distance > 0) { va... Add solution