-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (66 loc) · 3.04 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
<title>AWC-Spotify</title>
<link rel="icon" href="https://www.scdn.co/i/_global/favicon.png" />
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap" rel="stylesheet" />
<!--<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> -->
<script defer src="code.js"></script>
<!--<script src="sweetalert2.all.min.js"></script>-->
</head>
<body>
<div class="alert alert-danger" role="alert" id="reg_alert"></div>
<div class="container" id="container">
<div class="form-container sign-up-container">
<form id="formRegistration" action="home.html">
<h1>Create Account</h1>
<div class="social-container">
<a href="#" class="social"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="social"><i class="fab fa-google-plus-g"></i></a>
<a href="#" class="social"><i class="fab fa-linkedin-in"></i></a>
</div>
<span>or use your email for registration</span>
<input type="text" placeholder="Name" id="nome" required value="utente1" />
<input type="email" placeholder="Email" id="email" required value="utente1@gmail.com" />
<input type="password" placeholder="Password" id="password" required pattern="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[a-zA-Z]).{8,}$" title="1 lower,1 upper, a number and almost 8 char" />
<button type="submit">Crea account</button>
<!-- <input type="submit" value="Crea account"> -->
</form>
</div>
<!-- FORM PER LA LOGIN -->
<div class="form-container sign-in-container">
<form id="formLogin" method="post" action="home.html" name="formLogin">
<h1>Login to your account</h1>
<div class="social-container">
<a href="#" class="social"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="social"><i class="fab fa-google-plus-g"></i></a>
<a href="#" class="social"><i class="fab fa-linkedin-in"></i></a>
</div>
<span>or use your account</span>
<input type="email" name="email" placeholder="Email" required id="accessoEmail" />
<input type="password" name="password" placeholder="Password" required id="accessoPassword" />
<a href="#" disabled >Forgot your password? </a>
<button type="submit">Accedi</button>
</form>
</div>
<div class="overlay-container">
<div class="overlay">
<div class="overlay-panel overlay-left">
<h1>Welcome back!</h1>
<p>To keep connected with us please login with your personal info</p>
<button class="ghost" id="signIn">Accedi</button>
</div>
<div class="overlay-panel overlay-right">
<h1>Hello, Friend!</h1>
<p>Enter your personal details and start journey with us</p>
<button class="ghost" id="signUp">Iscriviti</button>
</div>
</div>
</div>
</div>
</body>
</html>