-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (111 loc) · 4.81 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Link to Google Icon Link -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<!-- Link to Boxicons CSS file -->
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<!-- Link to custom CSS file -->
<link rel="stylesheet" href="assets/css/styles.css">
<title>Password Generator @sauravxcode</title>
</head>
<body>
<section class="header">
<!-- Navigation section -->
<nav>
<!-- Logo -->
<img class="logo" src="assets/img/logo.png" alt="">
<a href="#generate" class="cta"><button>Try For Free</button></a>
</nav>
<!-- Main content section -->
<div class="info">
<!-- Main headline -->
<h1>Generate Secure<br><span>Password </span>Instantly.</h1>
<!-- Sub headline -->
<p>Effortlessly create strong and secure passwords with our password generator.<br> Customize your preferences and enhance your online security with ease.</p>
<!-- Button to generate QR code -->
<a href="#generate"><button class="cta-btn">Generate Now</button></a>
</div>
<div class="img__box">
<img class="back-img" src="./assets/img/shape/7.png" alt="3d image">
</div>
<!-- Social media links section -->
<div class="social-links">
<i class='bx bxl-linkedin-square' ></i>
<i class='bx bxl-facebook-circle'></i>
<i class='bx bxl-instagram' ></i>
<i class='bx bxl-twitter' ></i>
</div>
</section>
<section class="generate" id="generate">
<h1>Generate <span>Password</span></h1>
<p>Empower Your Security</p>
<div class="background-image-container"></div>
<div class="container">
<div class="wrapper">
<div class="input-box">
<input type="text" disabled>
<span class="material-symbols-outlined">content_copy</span>
</div>
<div class="pass-indicator"></div>
<div class="pass-length">
<div class="details">
<label class="title">Password Length</label>
<span></span>
</div>
<input type="range" min="1" max="30" value="15" step="1">
</div>
<div class="pass-settings">
<label class="title">Password Settings</label>
<ul class="options">
<li class="option">
<input type="checkbox" id="lowercase" checked>
<label for="lowercase">Lowercase (a-z)</label>
</li>
<li class="option">
<input type="checkbox" id="uppercase">
<label for="uppercase">Uppercase (A-Z)</label>
</li>
<li class="option">
<input type="checkbox" id="numbers">
<label for="numbers">Numbers (0-9)</label>
</li>
<li class="option">
<input type="checkbox" id="symbols">
<label for="symbols">Symbols (!-$^+)</label>
</li>
<li class="option">
<input type="checkbox" id="exc-duplicate">
<label for="exc-duplicate">Exclude Duplicate</label>
</li>
<li class="option">
<input type="checkbox" id="spaces">
<label for="spaces">Include Spaces</label>
</li>
</ul>
</div>
<button class="generate-btn">Generate Password</button>
</div>
</div>
<div class="credits">
<p>Made by Saurav Chaturvedi</p>
</div>
</section>
<!-- JavaScript file for smooth scrolling -->
<script>
// Smooth scrolling when clicking on anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
</script>
<!-- JavaScript file for QR code generation -->
<script src="assets/js/script.js"> </script>
</body>
</html>