JavaScript program that on button click displays the current timestamp on screen 1

JavaScript program that on button click displays the current timestamp on screen

onclick="document.getElementById('demo').innerHTML = Date()"> // using the Date() function

Here is what the above code is Doing:
1. The

Similar Posts