-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (65 loc) · 2.43 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<title>SAE Website</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="src/main.scss" rel="stylesheet" />
<script src="src/index.js" defer type="module"></script>
</head>
<body>
<h1>Hallo SAE!</h1>
<form>
<div>
<label for="firstName">Vorname</label>
<select id="firstName">
<option value="male">Herr</option>
<option value="female">Frau</option>
</select>
</div>
<div>
<label for="firstName">Vorname</label>
<input type="text" id="firstName" placeholder="Steve" data-validate="notEmpty" />
<span class="error hidden" name="firstName">
Vorname muss eingetragen sein
</span>
</div>
<div>
<label for="lastName">Nachname</label>
<input type="text" id="lastName" placeholder="Jobs" data-validate="notEmpty" />
<span class="error hidden" name="lastName">
Nachname muss eingetragen sein
</span>
</div>
<div>
<label for="address">Adresse</label>
<input type="text" id="address" placeholder="Lange Reihe" data-validate="notEmpty" />
<span class="error hidden" name="address">
Addresse muss eingetragen sein
</span>
</div>
<div>
<label for="zip">Postleitzahl</label>
<input type="text" id="zip" placeholder="22391" data-validate="zipCode" />
<span class="error hidden" name="zip">
Muss valide Postleitzahl sein
</span>
</div>
<div>
<label for="state">Ort</label>
<input type="text" id="state" placeholder="Hamburg" data-validate="notEmpty" />
<span class="error hidden" name="state"> Darf nicht leer sein </span>
</div>
<div>
<label for="email">E-Mail</label>
<input type="text" id="email" placeholder="[email protected]" data-validate="email" />
<span class="error hidden" name="email"> Muss valide E-Mail sein </span>
</div>
<div>
<label for="reason">Grund</label>
<textarea id="reason" placeholder="Mir war langweilig"></textarea>
</div>
<button type="submit">Abschicken</button>
</form>
</body>
</html>