My Projects

[Solved] My Projects | Scala - Code Explorer | yomemimo.com
Question : My Projects

Answered by : thoughtless-tapir-oklp0ijzlkn7

<!DOCTYPE html>
<html lang="en">
<head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Video</title>
</head>
<body> <button> Add a Number </button> <div id="number_1">100</div> <div id="number">100</div> <script type="text/javascript"> var count = 100; var count_2 = 100; function updateCount() { count = count - 1; if (count === 0) { count = 100 function updateCount_2() { count_2 = count_2 - 1; document.getElementById("number_1").innerHTML = count_2 ; } updateCount_2(); } document.getElementById("number").innerHTML = count; setTimeout(updateCount, 1); } updateCount(); </script>
</body>
</html>

Source : | Last Update : Mon, 25 Oct 21

Answers related to my projects

Code Explorer Popular Question For Scala