65 lines
1.4 KiB
HTML
65 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<script src="client.js" defer></script>
|
|
<title>Kapitel 11</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<button class="container">Becher</button>
|
|
<button id="blueberry">Blau</button>
|
|
<button id="raspberry">Rot</button>
|
|
<button id="streusel">bunte Streusel</button>
|
|
|
|
<hr>
|
|
|
|
<form id="myForm" method="" action="">
|
|
<!--https://theoneandgis.herokuapp.com-->
|
|
|
|
<label for="vorname" method="get">
|
|
Vorname
|
|
</label><br>
|
|
<input type="text" id="vorname" name="vorname" value="Vorname" onfocus="this.value=''"><br>
|
|
|
|
<label for="nachname">
|
|
Nachname
|
|
</label><br>
|
|
<input type="text" id="nachname" name="nachname" value="Nachname" onfocus="this.value=''"><br>
|
|
|
|
<label for="geburtsjahr">
|
|
Geburtsjahr
|
|
</label><br>
|
|
<input type="text" id="geburtsjahr" name="geburtsjahr" value="2000"><br>
|
|
|
|
<button type="button" id="abschicken"> Eintrag </button>
|
|
<button type="button" id="abfragen"> Abfrage </button>
|
|
|
|
</form>
|
|
|
|
<hr>
|
|
<div id="divResponse"></div>
|
|
<hr>
|
|
<div id="divDatabase"></div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
<style>
|
|
button,
|
|
label,
|
|
input,
|
|
div {
|
|
margin: 10px;
|
|
}
|
|
body{
|
|
background-color: black;
|
|
color: white;
|
|
}
|
|
</style> |