Skip to content

Instantly share code, notes, and snippets.

Avatar

Nassif nassif7

  • Berlin
View GitHub Profile
View timer.html
<!DOCTYPE html>
<html>
<head>
<title>me</title>
</head>
<body>
<button id="5" onclick="setInterval(counter, 1000, 5)">5</button>
<button id="15" onclick="setInterval(counter, 1000, 15)">15</button>
<button id="30" onclick="setInterval(counter, 1000, 30)">30</button>
<h3>Current Time</h3>