-
Notifications
You must be signed in to change notification settings - Fork 0
/
your_player.html
91 lines (84 loc) · 2.63 KB
/
your_player.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pick a player!</title>
<style>
body {
background-color: black;
color: white;
font-family: 'Bacasime Antique', serif;
}
legend {
font-size: 2rem;
font-weight: bold;
}
fieldset {
margin-top: 20px;
}
input[type=text] {
font-size: 1.5rem;
}
label {
font-size: 1.5rem;
}
p {
font-style: italic;
font-size: 25px;
}
input[type=submit] {
background-color: #71837c;
border: none;
color: white;
padding: 16px 32px;
text-decoration: none;
margin: 4px 2px;
cursor: pointer;
}
textarea {
font-size: 1.5rem;
}
</style>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bacasime+Antique&display=swap" rel="stylesheet">
</head>
<body>
<form>
<fieldset>
<legend>Your name</legend>
<label for="name">First name:</label>
<input type="text" id="name" name="name"><br><br>
<label for="country">Country of residence:</label>
<input type="text" id="country" name="country"><br><br>
</fieldset>
<fieldset>
<legend>Your favorite player</legend>
<p>Who is your favorite tennis player of all times?</p>
<input type="radio" name="preferredPlayer" value="Nole">
<label for="Nole">Novak Djokovic</label><br>
<input type="radio" name="preferredPlayer" value="Rafa">
<label for="Rafa">Rafael Nadal</label><br>
<input type="radio" name="preferredPlayer" value="Roger">
<label for="Roger">Roger Federer</label><br>
<input type="radio" name="preferredPlayer" value="Andy">
<label for="Andy">Andy Murray</label><br>
<input type="radio" name="preferredPlayer" value="Henri">
<label for="Henri">Henri Leconte</label><br>
<input type="radio" name="preferredPlayer" value="Other">
<label for="Other">Other</label><br>
<input type="radio" name="preferredPlayer" value="None">
<label for="None">I hate tennis, so leave me alone</label><br>
</fieldset>
<fieldset>
<legend>Your feedback</legend>
<p>Please share any feedback about this website:</p>
<textarea name="feedback" row="5" cols="25" maxlength="600" wrap="hard"></textarea>
</fieldset>
<br>
<input type="submit" value="Submit">
</form>
<script>alert("Please do not fill in anything as backup servers have not been set up yet.");</script>
</body>
</html>