-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
128 lines (109 loc) · 3.45 KB
/
test.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>UncleProject</title>
<meta name="description" content="UncleProject">
<meta name="author" content="UncleProject">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
<!---Test Event Listener--->
<p>
<style>
#myDIV {
background-color: green;
border: 1px solid;
padding: 50px;
color: white;
font-size: 20px;
}
</style>
</head>
<body>
<div id="myDIV">
<button id="myBtn">Try it</button>
</div>
<p id="demo"></p>
<script>
document.getElementById("myDIV").addEventListener("mousemove", myFunction);
var x = document.getElementById("myBtn");
x.addEventListener("mouseover", myFunction);
x.addEventListener("click", mySecondFunction);
x.addEventListener("mouseout", myThirdFunction);
function myFunction() {
document.getElementById("demo").innerHTML = Math.random();
}
function myThirdFunction() {
document.getElementById("demo").innerHTML += "Moused out!<br>";
}
function mySecondFunction() {
alert(document.getElementById("demo").innerHTML = Date());
}
</head>
<body>
<!--Login Test -->
<div id="container-login">
<div id="title">
<i class="material-icons lock">lock</i> Login
</div>
<form>
<div class="input">
<div class="input-addon">
<i class="material-icons">face</i>
</div>
<input id="username" placeholder="Username" type="text" required class="validate" autocomplete="off">
</div>
<div class="clearfix"></div>
<div class="input">
<div class="input-addon">
<i class="material-icons">vpn_key</i>
</div>
<input id="password" placeholder="Password" type="password" required class="validate" autocomplete="off">
</div>
<div class="remember-me">
<input type="checkbox">
<span style="color: #DDD">Remember Me</span>
</div>
<input type="submit" value="Log In" />
</form>
<div class="forgot-password">
<a href="#">Forgot your password?</a>
</div>
<div class="privacy">
<a href="#">Privacy Policy</a>
</div>
<div class="register">
Don't have an account yet?
<a href="#"><button id="register-link">Register here</button></a>
</div>
</div>
<!---End Login--->
<!--Form Test -->
<!-- modify this form HTML and place wherever you want your form -->
<form
action="https://formspree.io/f/mzbneklg"
method="POST"
>
<label>
Your email:
<input type="email" name="email">
</label>
<label>
Your message:
<textarea name="message"></textarea>
</label>
<!-- your other form fields go here -->
<button type="submit">Send</button>
</form>
<!--Form end-->
</script>
</p>
<!---End event Listenr--->
</body>
</html>