This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Derekjs1.html
106 lines (93 loc) · 3.02 KB
/
Derekjs1.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
<!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>js guide from derek banas</title>
</head>
<!-- escaped html symbols
non-breaking space  
< less than < <
> greater than > >
& ampersand & &
" double quotation mark " "
' single quotation mark (apostrophe) ' '
¢ cent ¢ ¢
£ pound £ £
¥ yen ¥ ¥
€ euro € €
© copyright © ©
® registered trademark ® ®
̀ a à à
́ a á á
̂ a â â
̃ a ã ã
̀ O Ò Ò
́ O Ó Ó
̂ O Ô Ô
̃ O Õ Õ
-->
<!-- <body onresize="alert('u just resized the browser');" onload="alert('hello world');"> -->
<body onresize="alert('u just resized the browser');">
<button ondblclick="alert('u dblc clicked');">double click</button>
<h3 onmouseover="changenode();" onmouseout="changehtml();">hello world</h3>
<p>Hide me by clicking the first paragraphe checkbox</p>
<form name="formx">
<label>first paragraphe</label>
<input type="checkbox" onclick="showFirstPar();" name="check1" />
<label>mouse X position</label>
<input type="text" name="formMouseX" placeholder="formMouseX" />
<label>mouse Y position</label>
<input type="text" name="formMouseY" />
<label> mouse press</label>
<input type="text" name="formMousePress" />
<label>keyboard press</label>
<input type="text" name="formKeyboardPress" />
<br />
<label> validating email with js not recommended for security reasons </label>
<!-- this refers to the input -->
<input
type="text"
name="mail"
size="30"
id="mail"
onblur="validateEmail(this,document.getElementById('logError'));"
/>
<span id="logError"></span>
<br />
<label>num1</label>
<input type="text" name="num1" />
<label>num2</label>
<input type="text" name="num2" />
<span id="answer"></span>
<br />
<label>first name</label>
<input type="text" id="firstname" name="namecookie" />
<label>get cookie</label>
<input type="text" name="getcookie" />
<label>delete cookie</label>
<input type="text" name="deletecookie" />
</form>
<br />
<div>
<strong> hey there im bold </strong>
<i> hey n im italic</i> <br />
<h5>and im a lazy h5</h5>
</div>
<script src="derek.js"></script>
<footer>
<center>
<a href="https://www.youtube.com/playlist?list=PLBA965A22D89CF13B" style="font-size:1.3rem; font-weight:bold;">
All Rights Reserved © Derek Banas
</a>
</center>
</footer>
<!-- noscript is used for browsers who dosent support javascript its kinda rare nowdays ... -->
<noscript>
<h3>
this site requires javascript
</h3>
</noscript>
</body>
</html>