42 lines
926 B
HTML
42 lines
926 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Page Title</title>
|
|
<script type = "text/javascript" src="app.js"></script>
|
|
|
|
</head>
|
|
<link rel="stylesheet" href="style.css">
|
|
<body>
|
|
<header>
|
|
<h1>Randomizer</h1>
|
|
</header>
|
|
|
|
|
|
|
|
<div class="labelcontainer">
|
|
<input type="number" id="Chance" name="Chance" min="10" placeholder="Chance (at least 10)">
|
|
|
|
</div>
|
|
<div class="labelcontainer">
|
|
<input type="number" id="Multiplicator" name="Multiplicator" min="1" max="3" placeholder="Multiplicator (1-3)">
|
|
|
|
</div>
|
|
<div class="labelcontainer">
|
|
<input type="text" id="name" maxlength="15" placeholder="Name (optional)">
|
|
</div>
|
|
<div>
|
|
<input type="button" onclick="calcChanche()" value="Go">
|
|
</div>
|
|
<p id="won"></p>
|
|
<div>
|
|
<label>winners</label>
|
|
<p id="winners"></p>
|
|
</div>
|
|
|
|
</body>
|
|
<script>
|
|
getWinners()
|
|
</script>
|
|
|
|
</html> |