Darts added
This commit is contained in:
46
darts/index.html
Normal file
46
darts/index.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Helios Darts 🎯</title>
|
||||
<style>
|
||||
body { font-family: sans-serif; background-color: #222; color: white; text-align: center; }
|
||||
|
||||
.scoreboard { display: flex; justify-content: center; gap: 50px; margin-top: 20px; }
|
||||
.player { background: #333; padding: 20px; border-radius: 10px; width: 150px; }
|
||||
.score { font-size: 60px; font-weight: bold; color: #1793d1; } /* Arch Blue ;) */
|
||||
|
||||
.input-area { margin-top: 40px; }
|
||||
input { font-size: 20px; padding: 10px; width: 200px; text-align: center; }
|
||||
button { font-size: 20px; padding: 10px 20px; cursor: pointer; background: #1793d1; border: none; color: white; }
|
||||
|
||||
.history { margin-top: 20px; color: #888; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>🎯 Helios Darts</h1>
|
||||
|
||||
<div class="scoreboard">
|
||||
<div class="player">
|
||||
<h2>Spieler 1</h2>
|
||||
<div id="score1" class="score">501</div>
|
||||
</div>
|
||||
<div class="player">
|
||||
<h2>Spieler 2</h2>
|
||||
<div id="score2" class="score">501</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="input-area">
|
||||
<h3>Wurf eingeben (z.B. 60 oder T20)</h3>
|
||||
<input type="text" id="inputScore" placeholder="Wurf..." autofocus>
|
||||
<button onclick="submitThrow()">Enter</button>
|
||||
</div>
|
||||
|
||||
<div class="history" id="status">Spieler 1 ist dran</div>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user