-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (57 loc) · 1.29 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
<!DOCTYPE html>
<html>
<style media="screen">
body {
text-align: center;
background-size: cover;
background-color: black;
background-position: center;
color: white;
font-family: helvetica;
}
p {
font-size: 22px;
color: white;
font-family: helvetica;
}
}
</style>
<head>
<title>
Questions
</title>
</head>
<body>
<h1> Question Time </h1>
<form>
<fieldset>
<label>What's your first name?</label>
<input type = "text" id = "firstname" value ="First Name">
<button onclick = "userGreeting()">Say My Name!</button>
<input type = "text" id = "output">
</form>
<script src="firstname.js">
</script>
</fieldset>
<form>
<fieldset>
<label>What's your favorite food?</label>
<input type = "text" id = "favefood" value ="Favorite Food">
<button onclick = "favFood()">I like to eat:</button>
<input type = "text" id = "theOutput">
</form>
<script src="favfood.js">
</script>
</fieldset>
<form>
<fieldset>
<label>What's your favorite color?</label>
<input type = "text" id = "color" value ="Favorite Color">
<button onclick = "favColor()">My favorite color is:</button>
<input type = "text" id = "colorOut">
</form>
<script src="favcolor.js">
</script>
</fieldset>
</body>
</html>