forked from Vishalrj750/Final_Kfc_Repo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathotp.html
111 lines (102 loc) · 3.18 KB
/
otp.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
background-color: rgba(32,33,36,.6509803921568628);
}
#container{
box-sizing: border-box;
width: 600px;
align-items: center;
text-align: center;
margin-left: 450px;
border: 1px solid #cecece;
border-radius: 20px;
margin-top: 10%;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
background-color: white;
}
#container .signIn a{
line-height: 24px;
color: #494949;
font-size: 14px;
font-weight: 500;
padding-top: 60px;
margin-bottom: 20%;
text-decoration: none;
}
.signIn {
margin-top: 5%;
margin-bottom: 5%;
}
#container h3, p, #container>a {
font-family: sans-serif;
}
.submit {
width: 200px;
height: 50px;
border-radius: 25px;
margin-bottom: 50px;
font-size: 20px;
border: 1px solid #cecece;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.submit:hover {
font-size: 25px;
background-color: black;
color: white;
cursor: pointer;
}
input {
width: 300px;
height: 50px;
border-radius: 20px;
text-align: center;
border: 1px solid #cecece;
font-size: 15px;
}
</style>
<title>Document</title>
</head>
<body>
<div id="container">
<div class="signIn">
<a href="sign.html">Sign in / Sign up</a>
</div>
<!-- <div id="sign">Sign in / Sign up</div> -->
<div><img src="./vik_images/KFC_logo.svg" alt=""></div>
<h3>WE JUST TEXTED YOU</h3>
<!-- <div id="yourNumber"></div> -->
<P id="yourNumber"></P>
<a href="sign.html">Different Number?</a>
<br>
<br>
<!-- <p>Different Number?</p> -->
<input type="text" placeholder="Enter Your Code Here">
<p>Your code will expire in </p>
<a href="#">Resend the code</a>
<br>
<br>
<button class="submit" onclick="goToName()">Submit</button>
</div>
</body>
<script>
//Setting the login mobile number when the page reload.
window.onload = setNumb();
//Function for setting login mobile number
function setNumb(){
let val = localStorage.getItem("Number");
console.log(val)
let setNum = document.getElementById("yourNumber");
setNum.innerText = `Please enter the verification code we just send to ${val}`
}
//Funtion to redirect to name page.
function goToName(){
window.location = "name.html"
}
</script>
</html>