-
Notifications
You must be signed in to change notification settings - Fork 0
/
task1.html
33 lines (31 loc) · 1.05 KB
/
task1.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
<!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">
<link rel="stylesheet" href="task1.css">
<title>Document</title>
</head>
<body>
<div class="bucket"><br>
<h1 align = "center" id="head">LOGIN</h1> <br>
<form>
<input id="email" type="text" name="email"
size="20" placeholder="Email" autocomplete="on">
<input id="pussyword" type="password" name="email" size="20" placeholder="Password" autocomplete="on">
</form>
<button id="button"><b>Login!</b></button><br><br><br>
<a href = https://www.kjscecodecell.com target="_blank" id="link">GO TO CODECELL PAGE!</a>
</div>
<script>
var Details=new Array;
document.getElementById("button").onclick=function(){
Details[0] = document.getElementById("email").value;
Details[1] = document.getElementById("pussyword").value;
console.log(Details);
alert("You have logged in.");
}
</script>
</body>
</html>