@@ -46,7 +46,7 @@ loginTimout(); | |||
shotForm(); | |||
difficultyForm(); | |||
?> | |||
<input type="submit" class="game__selection" <?php submitButtonValue(); ?>> | |||
<input type="submit" class="difficulty__selection" <?php submitButtonValue(); ?>> | |||
</form> | |||
<?php | |||
@@ -58,7 +58,7 @@ loginTimout(); | |||
<!-- logout button --> | |||
<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" method="POST"> | |||
<input type="submit" value="logout" name="logout" class="game__selection"> | |||
<input type="submit" value="logout" name="logout" class="difficulty__selection"> | |||
</form> | |||
@@ -110,7 +110,7 @@ function tbodyVisualTable() | |||
if (!(isset($_SESSION['game']))) { | |||
?> | |||
<label for="difficulty-select">Choose difficulty:</label> | |||
<select name="difficulty" id="difficulty-select" class="game__selection"> | |||
<select name="difficulty" id="difficulty-select" class="difficulty__selection"> | |||
<option value="">--please choose the difficulty--</option> | |||
<option value="easy">easy</option> | |||
<option value="medium">medium</option> |
@@ -55,7 +55,7 @@ function registerUser() | |||
$queryResult = $dbase->registerQuery($login); | |||
if ($queryResult) { | |||
return "<span class=\"loginform__input__items errormessage\">loginnaam al in gebruik</span>"; | |||
return "<span class=\"loginform__input__items errormessage\">Loginnaam al in gebruik</span>"; | |||
} else { | |||
$dbase->registerInsert($login, $password); | |||
header('Location: index.php'); |
@@ -28,6 +28,13 @@ | |||
margin: 0.5em 0; | |||
} | |||
.difficulty__selection { | |||
height: 44px; | |||
margin: 0.5em 0; | |||
font-size: 0.75em; | |||
padding: 5px; | |||
} | |||
.game { | |||
margin: 1em 0.5em; | |||
font-size: 1.2em; | |||
@@ -57,7 +64,7 @@ | |||
} | |||
.errormessage { | |||
color: red; | |||
color: hsl(360, 81%, 34%); | |||
font-weight: 600; | |||
} | |||