-
Notifications
You must be signed in to change notification settings - Fork 0
/
begin.html
133 lines (108 loc) · 4.43 KB
/
begin.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="manifest" href="favicon/site.webmanifest">
<link rel="mask-icon" href="favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="stylesheet" href="scss/home.scss">
<link rel="stylesheet" href="scss/home.css">
<link rel="stylesheet" href="scss/home.css.map">
<link rel="stylesheet" href="scss/begin.scss">
<link rel="stylesheet" href="css/begin.css.map">
<link rel="stylesheet" href="css/begin.css">
<script src="js/cursor.js"></script>
<script src="cookies.js"></script>
<title>Begin the Experiment-Data Policy</title>
</head>
<body>
<div class="wrapper" id="wrapper">
<div class="top-bar">
<button class="top-bar__nav-toggle hamburger" id="top-nav-toggle">
<span></span>
<span></span>
<span></span>
</button>
<span> <a href="index.html" class="top-bar__brand">Ishtar</a></span>
<span><a href="learn-more.html" class="top-bar__contact">
learn more</a></span>
<nav class="top-bar__nav collapsed" id="top-bar__nav">
<ul class="top-bar__nav-list ">
<li><a href="learn-more.html">Learn More</a></li>
<li><a href="the-experiment.html">The Experiment</a></li>
<li><a href="how-it-works.html">How It Works</a></li>
</ul>
</nav>
</div>
</div>
<div class="container">
<div class="col-sm-6 brand">
<div class="heading">
<h2>WE CARE ABOUT YOUR DATA</h2>
<span class="discl">
<h4>If you want to give us the opportunity to offer you a better report, fill the form with your data.
</h4>
</span>
</div>
</div>
<div class="col-sm-6 form">
<form class="signup-form" action="/" id="form" method="POST">
<div class="form-group">
<label for="name">age</label>
<input type="text" name="age" id="age" class="age">
<span class="error"></span>
</div>
<div class="form-group">
<label for="gender">gender</label>
<input type="text" name="gender" id="gender" class="gender">
<span class="error"></span>
</div>
<div class="form-group">
<label for="sex">sexual orientation</label>
<input type="text" name="sex" id="sex">
</div>
<div class="CTA">
<a href="experiment.html" onclick="userData();">
<input type="button" value="begin the experiment" id="submit">
</a>
<a href="index.html" class="switch">Go Back to Home</a>
<!--<a href="begin.html" onclick="clearCookies();">
<input type="button" value="clear" id="clear" />
</a>-->
</div>
</form>
</div>
</div>
</div>
<!--<script>
var expired = new Date(today.getTime() - 24 * 3600 * 1000); // less 24 hours
function deleteCookie(name) {
document.cookie = name + "=null; path=/; expires=" + expired.toGMTString();
}
function clearCookies() {
deleteCookie("sex");
deleteCookie("age");
deleteCookie("gender");
deleteCookie("ishtarinitate");
alert('Your cookies have been deleted!');
}
</script>-->
<script src="js/menu.js"></script>
<script>
function openModal() {
const open = document.getElementById("card");
open.style.display = "flex";
open.style.width = "300px";
};
//close the box modal
function closeModal() {
const close = document.getElementById("card");
close.style.display = "none";
};
</script>
</body>
</html>