-
Notifications
You must be signed in to change notification settings - Fork 0
/
you2.html
67 lines (62 loc) · 1.83 KB
/
you2.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
<!DOCTYPE html>
<html>
<head>
<title>For You</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://use.typekit.net/znk3xkz.css">
</head>
<body class="questions">
<!-- header -->
<img src="images/menu.png" width="100%">
<!-- header -->
<!-- questions -->
<div class="youquestion4">
<img src="images/q4.png" width="15%" class="qcount">
<p class="questiontitle">What is the occasion?</p>
<figure>
<img src="images/hangout.png" width="100%" class="imgselection" id="hangout" onclick="chooseOccasion('hangout')">
<figcaption>Hang out</figcaption>
</figure>
<figure>
<img src="images/work.png" width="30%" class="imgselection" id="work" onclick="chooseOccasion('work')">
<figcaption>Work</figcaption>
</figure>
<figure>
<img src="images/date.png" width="110%" class="imgselection" id="date" onclick="chooseOccasion('date')">
<figcaption>Date</figcaption>
</figure>
<figure>
<img src="images/party.png" width="90%" class="imgselection" id="party" onclick="chooseOccasion('party')">
<figcaption>Party</figcaption>
</figure>
<figure>
<img src="images/vacation.png" width="110%" class="imgselection" id="vacation" onclick="chooseOccasion('vacation')">
<figcaption>Vacation</figcaption>
</figure>
<br>
<!-- <a href="you1.html"><button class="stylebutton">back ›</button></a> -->
</div>
<!-- questions -->
<script>
function chooseOccasion(val) {
sessionStorage.occasion = val;
if(val=='hangout'){
window.open("hangout1.html", "_self");
}
if(val=='work'){
window.open("work1.html", "_self");
}
if(val=='date'){
//window.open("date1.html", "_self");
}
if(val=='party'){
window.open("party1.html", "_self");
}
if(val=='vacation'){
window.open("vacation1.html", "_self");
}
}
</script>
</body>
</html>