created stop watch
This commit is contained in:
16
d.html
Normal file
16
d.html
Normal file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Stop Watch</title>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Stop Watch</h3>
|
||||
<h1 id="time"> 00:00</h1>
|
||||
<button onclick="startClock()">Start</button>
|
||||
<button onclick="stopClock()">Stop</button>
|
||||
<button onclick="resetClock()">Reset</button>
|
||||
<script src="d.js"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user