forked from deepkiransangha4/GWC-SIP-Final-Project-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
final.html
168 lines (116 loc) · 3.77 KB
/
final.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<! DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src = "avatar_script.js"></script>
<script src = "enter_name_script.js"></script>
</head>
<body onload = "printName(); setAvatar(); myFunction();">
<div class="container-fluid" id= "parent">
<div id="narrow" >
<ul style = "list-style-type: none;">
<h2>Salt Water Learning</h2>
<li><div class="progress" style ="margin: 10px;">
<div class="progress-bar" role="progressbar" aria-valuenow="57"
aria-valuemin="0" aria-valuemax="100" style="width:57%">
<span class="sr-only"></span>
</div></li>
<li> <p id = "test"></p></li>
<img id = "avatar" src = "#" style = "width: 30%;"></img>
<p id="yourname"></p>
<p id = "shells"></p>
<script>
sayShells();
draw_shells();
</script>
</ul>
</div>
<div id = "wide">
<title>
Life Event
</title>
<h1>
Playdate
</h1>
<p>
Gaia Guppy invites you on a playdate!
When you get to Gaia’s house both of Gaia’s moms greet you.
</p>
<p>
How do you react?
</p>
<a href='life_event_result_a.html'> <button type="button" class="btn btn-info">Hi Mrs. and Mrs. Guppy!</button></a>
<a href='life_event_result_b.html'> <button type="button" class="btn btn-info">Gaia, why do you have two Moms?</button></a>
<a href='life_event_result_c.html'> <button type="button" class="btn btn-info">You say hi, but feel uncomfortable.</button></a>
<div class = "imgparent">
<img src = "gaia_happy.png" id = "gaia"></img>
<img src = "shark.png" id = "shark"></img>
<img src = "dolphin.png" id = "dolphin"></img>
</div>
</div>
</div>
<style>
#btn {
background-color: white;
color: black;
border: white;
}
body { background-color: DarkOrange;
text-align: center;
font-family: "Hobo Std Medium", Arial, sans;
font-size: 200%;
color: white;
background-image: url("basic_bg.png");
background-repeat: no-repeat;
background-size: cover;
}
h1{
color: #1E4E5E;
}
p{
color:#1E4E5E;
}
#parent {
display: flex;
}
#narrow{
background-color: #579CA4;
width: 20%;
overflow: auto;
overflow-y: auto;
height: 100vh;
<!--vh is our saviour-->
list-style-type: none;
padding-right: 30px;
}
#wide{
flex: 1;
}
.imgparent{
display: inline-block;
margin-top: 70px;
}
#shark{
width: 20%;
}
#dolphin{
width: 30%;
}
#gaia{
width: 10%;
transform: scale(-1, 1);
}
</style>
</body>
</html>