forked from neelimagprasad/CitrusHacks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (63 loc) · 2.17 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
<!DOCTYPE html>
<html>
<head>
<title>My Site</title>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<main>
<h1> Passcurity </h1>
<div id = buttons>
<button id="generator">Generate <br> Password</button>
<button id="checker">Check<br> Password</button>
</div>
<div id = "home">
<button id='homeButton'>Home</button>
</div>
<div id = passwordChecker >
<form id="password">
<label for="pswrd">Test out your password:</label><br>
<input type="password" id="pwd" name="password" ><br>
<input type="submit" id="submit" name="submit" value='Check'><br>
<br>
</form>
<div id = "msg">
<div id = "message_lower">
<h4> The password needs a lowercase letter</h4>
</div>
<div id = "message_upper">
<h4> The password needs an uppercase letter</h4>
</div>
<div id = "message_number">
<h4> The password needs a number</h4>
</div>
<div id = "message_special">
<h4> The password needs a special character</h4>
</div>
<div id = "message_length">
<h4> The password needs to be at least 10 characters </h4>
</div>
<div id = "message_good">
<h4> Your password is strong!</h4>
</div>
</div>
</div>
<div id = passwordGenerator>
<input type="submit" id="generate" name="generate" value='Generate'><br>
</div>
<div id = "email_box">
<h2> Here is a suggested strong password</h2>
<p id="suggestions"></p>
<form id="email">
<label id = "label" for="email">Enter your email below to send yourself your new secure password:</label><br>
<input type="email" id="email1" name="password" ><br>
<input type="submit" id="submit1" name="submit1" ><br>
</form>
<div id = "linkshow">
<a href="mailto:[email protected]?subject=Email Subject&body=Contents of email" id = "send">email</a>
</div>
<script src="password.js"></script>
<script src="passwordGenerator.js"></script>
</main>
</body>
</html>