-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (72 loc) · 4.04 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<meta name="description" content="The Simple Scoreboard with Timer is an intuitive web-based tool designed to keep track of scores and manage timing for various sports and games.">
<meta name="keywords" content="scoreboard, timer, sports, games, web-based tool, score management, team customization">
<meta name="author" content="Kyd Tantano Masong">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://ktm-edutech.github.io/Simple-Scoreboard-with-Timer/">
<meta property="og:title" content="Simple Scoreboard with Timer">
<meta property="og:description" content="The Simple Scoreboard with Timer is an intuitive web-based tool designed to keep track of scores and manage timing for various sports and games.">
<meta property="og:image" content="https://i.ibb.co/bKcCtYS/Scoreboard-Timer.jpg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://ktm-edutech.github.io/Simple-Scoreboard-with-Timer/">
<meta property="twitter:title" content="Simple Scoreboard with Timer">
<meta property="twitter:description" content="The Simple Scoreboard with Timer is an intuitive web-based tool designed to keep track of scores and manage timing for various sports and games.">
<meta property="twitter:image" content="https://i.ibb.co/bKcCtYS/Scoreboard-Timer.jpg">
<title>Game Scoreboard</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="scoreboard">
<h1>Game Scoreboard</h1>
<div class="timer">
<p id="timer">00:00</p>
<button class="control-button" onclick="startTimer()">
<i class="fas fa-play icon" title="Play"></i> Start
</button>
<button class="control-button" onclick="stopTimer()">
<i class="fas fa-stop icon" title="Stop"></i> Stop
</button>
<button class="control-button" onclick="resetTimer()">
<i class="fas fa-redo-alt"></i> Reset
</button>
</div>
<div class="teams">
<div class="team">
<input type="text" id="teamAName" class="team-name" value="Team A" />
<p class="score" id="scoreA">0</p>
<div class="score-controls">
<button class="score-button" onclick="decrementScore('A')">➖</button>
<button class="score-button" onclick="incrementScore('A')">➕</button>
</div>
</div>
<div class="team">
<input type="text" id="teamBName" class="team-name" value="Team B" />
<p class="score" id="scoreB">0</p>
<div class="score-controls">
<button class="score-button" onclick="decrementScore('B')">➖</button>
<button class="score-button" onclick="incrementScore('B')">➕</button>
</div>
</div>
</div>
<div class="controls">
<button class="control-button" onclick="resetScores()">
<i class="fas fa-redo-alt"></i> Scores
</button>
<button class="control-button" onclick="printPage()">
<i class="fa-solid fa-print"></i> Scores
</button>
</div>
</div>
<footer>
<p>© 2024 ICT Click Digital Media | Maintained by KTM EduTech. All Rights Reserved.</p>
</footer>
<script src="script.js"></script>
</body>
</html>