Guest mezczyzna z elblaga Posted June 6, 2024 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Hello, World!</title> <link rel="stylesheet" href="styles.css" /> </head> <body> <h1 class="title">Hello World! </h1> <p id="currentTime"></p> <script src="script.js"></script> <script> let data = new Date(); document.write('<p>Czas załadowania strony:</p>') function addZero(i) { if (i < 10) {i = "0" + i} return i; } document.write('<p>Data: '); document.write(addZero(data.getDate()) + '.' + (addZero(data.getMonth()+1)) + '.' + data.getFullYear()) document.write('</p>'); document.write('<p>Godzina: '); document.write(addZero(data.getHours()) + ':' + addZero(data.getMinutes()) + ':' + addZero(data.getSeconds())); document.write('</p>'); </script> </body> </html> chuj nieaktualne Mention Quote Share this post Link to post Share on other sites
WBB 2,308 Posted June 6, 2024 ruski hakier nas atakuje Mention Quote Share this post Link to post Share on other sites