forked from fahadyahya14/project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnew.html
54 lines (32 loc) · 1.09 KB
/
new.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title> <link href="https://fonts.googleapis.com/css?family=Gamja+Flower|Kosugi+Maru|Montserrat|Mukta|Open+Sans+Condensed:300|Oswald|PT+Sans|Roboto+Mono|Ruslan+Display|Slabo+27px|Ubuntu|lobster" rel="stylesheet">
<style>
form{
text-align: center
}
</style>
</head>
<body id="table">
<div id="head" style="width: 100%;background: black;color: white ; font-family: lobster;text-align: center">Fahad <br>Memon</div>
<br><br>
<form action="" onsubmit="check()">
<input type="text" id="name" placeholder="Enter Name">
<br>
<br>
<input type="submit" id="" value="Ok">
</form>
</body>
<script>
function check(){
var save = document.getElementById("name").value;
localStorage.setItem("login",save)
window.open("index.html")
window.close()
}
</script>
</html>