Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
A simple stopwatch with start, stop, and reset functionality.
<!DOCTYPE html>
<html>
<head>
<title>Stopwatch</title>
<script>
let sec=0, interval;
function start() { clearInterval(interval); interval=setInterval(()=>{ sec++; document.getElementById('time').textContent=sec; },1000); }
function stop() { clearInterval(interval); }
function reset() { clearInterval(interval); sec=0; document.getElementById('time').textContent=sec; }
</script>
</head>
<body>
<h1>Stopwatch: <span id='time'>0</span></h1>
<button onclick='start()'>Start</button>
<button onclick='stop()'>Stop</button>
<button onclick='reset()'>Reset</button>
</body>
</html>Apache Cordova is an open-source mobile development framework that enables developers to build cross-platform mobile applications using HTML, CSS, and JavaScript. It wraps web applications into native containers to run on multiple mobile platforms.
Origin & Creator
Originally created by Nitobi in 2009 as PhoneGap, it was later donated to the Apache Software Foundation and renamed Cordova. The project standardized the approach for hybrid mobile app development.
Industrial Note
Perfect for rapid development of cross-platform mobile apps where leveraging existing web development skills is critical.