Skip to content

Instantly share code, notes, and snippets.

@codingwithsara codingwithsara/index.html Secret
Created Jul 14, 2018

Embed
What would you like to do?
JavaScriptストップウォッチ(HTML)
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>ストップウォッチ</title>
<style>
/* ここにCSSを書いていきます。 */
</style>
</head>
<body>
<div class="container">
<h1 class="title">StopWatch</h1>
<h1 id="timerLabel">00:00:00</h1>
<input type="button" class="myButton" onclick="start()" value="START" id="startBtn">
<input type="button" class="myButton" onclick="stop()" value="STOP">
<input type="button" class="myButton" onclick="reset()" value="RESET">
</div>
<script>
/* ここにJavaScriptを書いていきます。 */
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.