MASUK KE:
- LAYOUT
- ADD A GADGET
- HTML/JAVASCRIPT
- COPY CODE DIBAWAH INI
- SAVE
CODE:
<script type="text/javascript">
window.onload = function() { jam(); }
function jam() {
var e = document.getElementById('jam'),
d = new Date(), h, m, s;
h = d.getHours();
m = set(d.getMinutes());
s = set(d.getSeconds());
e.innerHTML = h +':'+ m +':'+ s;
setTimeout('jam()', 1000);
}
function set(e) {
e = e < 10 ? '0'+ e : e;
return e;
}
</script>
<center><h1 style="font-size: 20px; font-family: arial; color:#c00; background:none; height:25px; margin-bottom:2px; margin-top:2px;" id="jam"></h1><center></center></center>
KLICK SAVE
SELESAI 👍💀 Cara ke 2 (menyesuaikan dengan server):
Kunjungi situs berikut: https://time.is/widgets👍