forked from PriyaGhosal/SkillWise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
59 lines (54 loc) · 2.65 KB
/
signup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SkillWise - Sign up</title>
<link rel="stylesheet" href="assets/css/signin.css">
<link rel="shortcut icon" href="./favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"/>
</head>
<body>
<div class="container">
<div class="form-container">
<!-- Add SkillWise Icon/Logo -->
<img src="assets/images/Skillwise_logo.jpg" alt="SkillWise Logo" class="logo">
<h1>Welcome to <span class="brand">SkillWise</span></h1>
<p><strong>Sign-Up</strong> to Create your personal learning dashboard Account</p>
<form action="#" method="POST">
<div class="input-group">
<label for="username">Full Name</label>
<input type="text" id="fullname" name="fullname" placeholder="Create your username" required>
</div>
<div class="input-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" placeholder="Create your username" required>
</div>
<div class="input-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
</div>
<div class="input-group">
<label for="password">Password</label>
<div class="password">
<input type="password" id="password" name="password" placeholder="Enter your password" required>
<i class="fa-solid fa-eye-slash" id="togglePassword"></i>
</div> </div>
<button type="submit" class="signin-btn">Sign In</button>
<p class="signup-link">Already have an account? <a href="./signin.html">Sign in here</a></p>
</form>
</div>
</div>
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<script >
const togglePassword = document.querySelector("#togglePassword");
const passwordInput = document.querySelector("#password");
togglePassword.addEventListener("click", function () {
const type = passwordInput.getAttribute("type") === "password" ? "text": "password";
passwordInput.setAttribute("type", type);
this.classList.toggle("fa-eye-slash");
this.classList.toggle("fa-eye");
});
</script>
</body>
</html>