42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Gamma World Mental Attack Roll</title>
|
|
<link rel="stylesheet" type="text/css" href="styles.css">
|
|
<script src="mentalattack.js" defer></script>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Mental Attack Roll!</h1>
|
|
|
|
<h4>Set Mental Strength Values, and Press Attack!</h4>
|
|
|
|
<div class="content-container">
|
|
<form id="mentalAttackForm">
|
|
<div class="form-row">
|
|
<div class="form-field">
|
|
<label for="ams">Attacker Mental Strength:</label>
|
|
<input type="number" name="ams" id="ams" min="3" max="18" value="10">
|
|
</div>
|
|
<div class="form-field">
|
|
<label for="dms">Defender Mental Strength:</label>
|
|
<input type="number" name="dms" id="dms" min="3" max="18" value="10">
|
|
</div>
|
|
</div>
|
|
<div class="form-row">
|
|
<div class="form-field">
|
|
<label for="modifier">Modifier:</label>
|
|
<input type="number" name="modifier" id="modifier" min="-100" max="100" value="0">
|
|
</div>
|
|
<div class="form-field">
|
|
<button type="submit">Attack!</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<hr/>
|
|
<div id="results"></div>
|
|
</body>
|
|
</html> |