-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (45 loc) · 1.52 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
<!DOCTYPE html>
<html>
<head>
<meta charset = "UTF-8">
<title>Closures fact three!</title>
<script language = "javascript" type = "text/javascript" src = "closures.js"></script>
</head>
<body>
<center>
<h2>Define Sphere</h2>
<img src = "iceSphere.jpg" alt = "ERROR: No image found!">
<span style = "position:absolute; top:70px; left:100px; right:100px; color:white;">
Title: - <input type = "text" id = "title" value = "White Orb">
</span>
<br>
<br>
<span style = "position:absolute; top:140px; left:100px; right:100px; color:magenta;">
Material: - <input type = "text" id = "material" value = "Glas">
</span>
<br>
<br>
<span style = "position:absolute; top:300px; left:100px; right:100px; color:yellow;">
Radius: - <input type = "number" id = "radius" value = "1000"> miles
</span>
<h2>Get Features</h2>
<button type = "button" onclick = "Title()"> TITLE </button>
<button type = "button" onclick = "Material()"> MATERIAL</button>
<button type = "button" onclick = "Radius()"> RADIUS </button>
<br>
<br>
<ul style = "display:inline-block;">
<li id = "resOne"></li>
<li id = "resTwo"></li>
<li id = "resThree"></li>
</ul>
<br>
<br>
<br>
For more explanation please visit -
<a href = "https://github.com/Incrementis/Javascript-closures-fact-three-/wiki"> Closures fact three Wiki</a>
<br>
picture by <a href = "https://unsplash.com/@aaronburden">Aaron Burden</a>
</center>
</body>
</html>