-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
26 lines (26 loc) · 1.48 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Basketball counter!</title>
<link rel="stylesheet" href="style.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="scripts.js"></script>
</head>
<body>
<div class="align-center">
<h1 class="blue" id="blue">0</h1><h1>-</h1><h1 class="red" id="red">0</h1>
</div>
<hr>
<div class="align-center">
<div><span class="blue">Blue</span>: <button class="btn btn-success" onclick="addBlue();bluecheck();">+</button> <button class="btn btn-danger" onclick="subtractBlue();bluecheck();">-</button></div>
<br>
<div><span class="red">Red</span>: <button class="btn btn-success" onclick="addRed();redcheck();">+</button> <button class="btn btn-danger" onclick="subtractRed();redcheck();">-</button></div>
</div>
<hr>
<div class="align-center"><button class="btn btn-danger" onclick="reset()">Reset</button></div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
</body>
</html>