-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirst.html
68 lines (68 loc) · 2.59 KB
/
first.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
<!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"
/>
<title>Login Page</title>
<link rel="stylesheet" href="./CSS/style.css" />
</head>
<body>
<div id="sample"></div>
<div class="main-cover" id="main-cover1">
<div class="titlename">
<img id="main-logo" src="./Images/logofinal.png" alt="" />
<h1 id="heading1">CIST</h1>
</div>
<div class="loginBox">
<img
class="logo loginlogo"
src="/Images/logofinal.png"
alt=""
/>
<h1>Login here</h1>
<form action="./Dashboard.html">
<label for="Username">Username</label>
<input
type="text"
name=""
placeholder="Enter Username"
required
/><br /><br />
<label for="password">Password</label>
<input
type="password"
name=""
placeholder="Enter Password"
required
/>
<br /><br />
<input
type="submit"
name=""
value="Login"
id="demo"
/><br /><br />
<a href="#forgot">Forgot Password</a><br />
<input type="radio" />
<label for="remember">Remember Me</label>
</form>
</div>
<button onclick="loadDoc()" id="btn">Click Me</button>
</div>
<script>
function loadDoc() {
const xhttp = new XMLHttpRequest();
xhttp.onload = function () {
document.getElementById("sample").innerHTML =
this.responseText;
};
xhttp.open("GET", "./Dashboard.html", true);
xhttp.send();
}
</script>
</body>
</html>