-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdate.html
More file actions
112 lines (100 loc) · 2.5 KB
/
date.html
File metadata and controls
112 lines (100 loc) · 2.5 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>créer un compte</title>
<style>
body {
background: white;
margin: 0;
font-family: sans-serif;
padding: 0;
}
header {
background: white;
padding: 0;
margin: 0;
text-align: center;
height: 45px;
border-bottom: 1px solid rgba(109, 111, 120, 1);
}
header h3 {
position: relative;
top: 10px;
margin: 0;
font-weight:bold;
}
div.container {
text-align: center;
margin-top: 3em;
}
div.container p {
font-size: 15px;
font-weight:400;
color:rgba(120, 109, 115, 1);
}
input.submit{
background:#F6005B;
border:none;
/* box-shadow: 5px 5px 15px #FF96BD;*/
width:92%;
font-size:20px;
font-family:sans-serif;
color:white;
margin-top:1.5em;
height:2.2em;
border-radius: 0px;
font-weight: bolder;
text-align:center;
}
form input#number{
width:87%;
height:5vh;
outline-color:#F6005B;
border-radius:0;
border:1px solid rgba(129, 122, 126, 1);
}
form label{
position: relative;
right:6em;
font-weight:400;
}
form a{
color:#F6005B;
position: relative;
top:6em;
text-decoration:none;
font-weight: 500;
cursor:none;
}
</style>
</head>
<body>
<header>
<h3>Rejoignez Thunder⚡</h3>
</header>
<div class="container">
<h2>Quelle est votre date de naissance ?</h2>
<p>Choisissez votre date de naissance.vous pourrez à <br> tout moment la changer par la suite.</p>
<form action="sex.html"method="POST">
<label for="">Date de naissance <br></label>
<input type="date" name="number" id="number"placeholder="day/mouth/year"required>
<input type="submit" value="Suivant" class="submit">
</form>
</div>
<script>
const submitBtn = document.querySelector('.submit');
submitBtn.addEventListener('click', (e) => {
e.preventDefault(); // Empêche le rechargement de la page
// Affichage de la page "load.html"
const loadPage = window.open('load.html', '_blank');
// Redirection vers la page "sex.html" après 2 secondes
setTimeout(() => {
loadPage.close(); // Fermeture de la page "load.html"
window.location.href = 'sex.html'; // Redirection vers "sex.html"
}, 2000); // Durée de l'effet de chargement (en millisecondes)
});
</script>
</body>
</html>