Proszę o pomoc, po kliknięciu w przycisk wyświetla się pusta strona.
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
</head>
<body>
<button id="number" onclick="write()">5</button>
<script>
function write() {
document.getElementById("number").innerHTML = 0;
}
</script>
</body>
</html>