-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
84 lines (81 loc) · 3.82 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="A fun quiz to find out what cat breed
you are">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Neucha&display=swap"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Kalam&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="css-folder/reset.css">
<link rel="stylesheet" href="css-folder/style.css">
<title>The P(u)RRRfect app</title>
</head>
<body>
<header>
<h1>P(u)RRR</h1>
<h2>What breed of cat are you? </h2>
<p class="header__paragraph">Fill in the form and find out which
breed best reflects your prrrsonality!</p>
</header>
<main>
<div class="container">
<form>
<h2>About you</h2>
<fieldset>
<legend class="name_label">Name:</legend>
<label for="name"></label>
<input aria-label="Enter your name" id="name"
class="input-field" type="text"
placeholder="Enter your name" required>
</fieldset>
<fieldset>
<legend>Are you stranger friendly?</legend>
<input id="nah" type="radio" name="stranger-friendly"
value="3">
<label for="nah">nah!</label>
<input id="kinda" type="radio" name="stranger-friendly"
value="4" checked>
<label for="kinda">kinda...</label>
<input id="yeah" type="radio" name="stranger-friendly"
value="5">
<label for="yeah">yeah!</label>
</fieldset>
<fieldset>
<legend>How's your energy?</legend>
<input id="nah2" type="radio" name="energy" value="3">
<label for="nah2">nah!</label>
<input id="kinda2" type="radio" name="energy" value="4"
checked>
<label for="kinda2">kinda...</label>
<input id="yeah2" type="radio" name="energy" value="5">
<label for="yeah2">yeah!</label>
</fieldset>
<fieldset>
<legend>Do you get on with children?</legend>
<input id="nah3" type="radio" name="children" value="3">
<label for="nah3">nah!</label>
<input id="kinda3" type="radio" name="children"
value="4" checked>
<label for="kinda3">kinda...</label>
<input id="yeah3" type="radio" name="children"
value="5">
<label for="yeah3">yeah!</label>
</fieldset>
<input class="button" value="Find out your answer!"
type="submit" onclick="chooseCatOptions()"></input>
</form>
<section class="result">
<h2 id="human_name"></h2>
<img class="question__mark" aria-label="Question mark image"
src="img/Lol_question_mark.png"
alt="Question mark image">
<h4 id="cat_description"></h4>
</section>
</main>
<script src="js-folder/script.js" async defer></script>
</body>
</html>