-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (52 loc) · 1.7 KB
/
index.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
<!DOCTYPE HTML>
<html>
<head>
<title>Dictonary object</title>
<meta charset = "UTF-8">
</head>
<!--
NOTE:
Because of the shortness of the html code
and demonstration purposes, the style attribute is used within html tags.
Nevertheless it is recommended to use CSS for styling.
-->
<body>
<center>
<h2>Activate Properties and/or Destroy/Repair "hasOwnProperty"</h2>
<button onclick="getProperties()">ACTIVATE</button>
<button style="background-color:#b6313e;" onclick="destroy()">DESTROY</button>
<button style="background-color:#008b76;" onclick="repair()">REPAIR</button>
<br>
<br>
<img id="snail" src="Snail.jpg" alt="ERROR: No image found!">
<div id="time" style="position:relative; bottom: 245px;left: 80px; color:white;"></div>
<div id="distance" style="position: relative; bottom: 120px; left: -10px; color:white;"></div>
<br>
<strong>To see a result, gently change an input value!</strong>
<br>
<br>
distance/time = <span id = "result">1</span>
<br>
-------------------------
<br>
<br>
<h3>Check Properties</h3>
<button id="properties" style="visibility:hidden;" onclick="analyseSnail()">PROPERTIES</button>
<br>
<br>
<span id="propList"></span>
<br>
<br>
<br>
<br>
_________________________________________________
<br>
For more information please visit the
<a href="https://github.com/Incrementis/Javascript-dictonary-object-and-hasOwnProperty-/wiki">
Dictonary object and hasOwnProperty Wiki</a>
<center>
</body>
<script language = "javascript" type = "text/javascript" src = "dictonary.js"></script>
</html>