-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (57 loc) · 2.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign Up - DoneIt</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="/styles/main_style.css">
</head>
<body class="bg-body">
<main class="container my-5 p-5 border rounded shadow">
<header class="display-4 text-center text-dark">Join DoneIt Today!</header>
<section class="text-center">
<video autoplay loop src="/resources/todo-animation.webm" type="video/webm"></video>
</section>
<section id="signUpAlert"></section>
<section class="container mt-5">
<form id="signUpForm" class="needs-validation" novalidate>
<div>
<label for="inputName" class="form-label text-dark">Name:</label>
<input type="text" class="form-control" id="inputName" placeholder="Enter your name" required>
<div class="invalid-feedback">Name must be at least 3 characters, letters only.</div>
</div>
<br>
<div>
<label for="inputEmailSignUp" class="form-label text-dark">Email:</label>
<input type="email" class="form-control" id="inputEmailSignUp" placeholder="Enter your email"
required>
<div class="invalid-feedback">Please provide a valid email address.</div>
</div>
<br>
<div>
<label for="inputPasswordSignUp" class="form-label text-dark">Password:</label>
<input type="password" class="form-control" id="inputPasswordSignUp"
placeholder="Enter your password" required>
<div class="invalid-feedback">Password must be at least 6 characters long and include a number.
</div>
</div>
<br>
<div class="text-center">
<button id="signUpButton" type="submit" class="btn btn-primary">Sign up</button>
</div>
</form>
<div class="mt-5 text-center">
<p class="text-dark">Already have an account? <a class="toggleLink" href="/pages/sign_in_page.html">Sign
in here</a></p>
</div>
</section>
</main>
<script type="module">
import { signUp } from "/scripts/main_script.js";
signUp();
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>