-
Notifications
You must be signed in to change notification settings - Fork 0
/
you0.html
52 lines (48 loc) · 1.49 KB
/
you0.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
<!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="youquestion0">
<img src="images/q2.png" width="15%" class="qcount">
<p class="questiontitle">What do you want to buy today?</p>
<figure>
<img src="images/clothing.png" width="100%" class="imgselection" onclick="chooseClothes()" id ="clothes">
<figcaption>Clothes</figcaption>
</figure>
<figure>
<img src="images/accessories.png" width="100%" class="imgselection">
<figcaption>Accessories</figcaption>
</figure>
<figure>
<img src="images/jewelry.png" width="100%" class="imgselection">
<figcaption>Jewelry</figcaption>
</figure>
<figure>
<img src="images/home.png" width="100%" class="imgselection">
<figcaption>Home</figcaption>
</figure><br>
<!-- <a href="you.html"><button class="stylebutton">back ›</button></a> -->
</div>
<!-- questions -->
<script>
function chooseClothes() {
if(typeof(Storage) !== "undefined") {
sessionStorage.category = "clothes";
} else {
document.getElementById("clothes").innerHTML = "Sorry, your browser does not support web storage...";
}
console.log(sessionStorage.category);
window.open("you1.html", "_self");
}
</script>
</body>
</html>