-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSignup.html
89 lines (81 loc) · 5.25 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
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
<!DOCTYPE html>
<html>
<head>
<title>Messenger | Login</title>
<meta name="viewport" content="width=device-width , initial-scale=1.0">
<link rel="stylesheet" href="/font.css">
<link rel="stylesheet" href="/Common.css">
</head>
<body>
<div class="main">
<p class="title">Welcome</p>
<p class="desc">Sign Up to Continue</p>
<form autocomplete="off" name="myform" action="/Signup.html/" method="post">
<div class="div1">
<p>USERNAME</p>
<div class="inp">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path d="M121 32C91.6 32 66 52 58.9 80.5L1.9 308.4C.6 313.5 0 318.7 0 323.9V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V323.9c0-5.2-.6-10.4-1.9-15.5l-57-227.9C446 52 420.4 32 391 32H121zm0 64H391l48 192H387.8c-12.1 0-23.2 6.8-28.6 17.7l-14.3 28.6c-5.4 10.8-16.5 17.7-28.6 17.7H195.8c-12.1 0-23.2-6.8-28.6-17.7l-14.3-28.6c-5.4-10.8-16.5-17.7-28.6-17.7H73L121 96z"/>
</svg>
<input type="text" name="username">
</div>
</div>
<div class="div1" style="margin-top: 20px;">
<p>EMAIL-Id</p>
<div class="inp">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path d="M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"/>
</svg>
<input type="text" name="email">
</div>
</div>
<p class="warnemail" style="display: none;">Email doesn't exists</p>
<div class="div1" style="margin-top: 20px;">
<p>PASSWORD</p>
<div class="inp">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<path d="M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"/>
</svg>
<input type="password" name="password" style="width:200px">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" style="margin:0px 0px 0px 20px; cursor:pointer" id="eye">
<path d="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"/>
</svg>
</div>
</div>
<p class="warnpass" style="display: none;">Password is weak</p>
<input type="submit" value="Sign-Up">
<p class="finale">
Already have an Account?.
<a href="/Login.html">Log-In</a>
</p>
</form>
</div>
<script src="/common.js"></script>
<script>
document.forms["myform"]["username"].onfocus = function()
{
document.getElementsByClassName("div1")[0].style.boxShadow = "0 0 0 2px coral, 8px 8px 0 0 coral";
}
document.forms["myform"]["username"].onblur = function()
{
document.getElementsByClassName("div1")[0].style.boxShadow = "0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)";
}
document.forms["myform"]["email"].onfocus = function()
{
document.getElementsByClassName("div1")[1].style.boxShadow = "0 0 0 2px coral, 8px 8px 0 0 coral";
}
document.forms["myform"]["email"].onblur = function()
{
document.getElementsByClassName("div1")[1].style.boxShadow = "0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)";
}
document.forms["myform"]["password"].onfocus = function()
{
document.getElementsByClassName("div1")[2].style.boxShadow = "0 0 0 2px coral, 8px 8px 0 0 coral";
}
document.forms["myform"]["password"].onblur = function()
{
document.getElementsByClassName("div1")[2].style.boxShadow = "0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)";
}
</script>
</body>
</html>