JavaScript#7
Konversi Perhitungan Detik ke Jam Menit Detik Dengan koding sbb: <html> <head> <title>ALPRO</title> <style> .tengah { margin-left : 25%; width: 50%; border: 5px solid brown; padding: 30px; text-align: center; background: pink; } label{ width: 200px; display: inline-block; } </style> </head> <body> <script language="javascript"> function Hitung() { //deklarasi variabel var a; var b; var c; //proses a =(document.getElementById("jml.Detik").value); document.getElementById("Jam").value = Math.floor( a / (60*60) ); b =(document.getElementById("Jam").value); document.getElementById("Menit").value = Math.floor(( a - (b * (60 * 60)))/(40+20)); c =(document.getElementById("Menit").v