-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (54 loc) · 1.94 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE HTML>
<html>
<head>
<title>Methods on Prototypes</title>
<meta charset="UTF-8">
</head>
<!--
NOTE:
===============================================================================================
Because of simplicity & demonstration purposes, the "style" attribute is used within html tags.
Nevertheless it is recommended to use CSS for styling.
In '<body>' the 'style="text-align:center;"'
centers similar like the tag '<center>' which was used in previous mini-projects.
===============================================================================================
-->
<body style="text-align:center;">
<section>
<h2>Select Type of Growth</h2>
<img id="genetic-pic" src="#">
<br>
<input id="healthy-growth" type="radio" checked="checked" name="Growth" onclick="loadImage();">
<label for="healthy-growth" onclick="loadImage();">Healthy Growth</label>
<br>
<br>
<input id="unhealthy-growth" type="radio" name="Growth" onclick="loadImage();">
<label for="unhealthy-growth" onclick="loadImage();">Unhealthy Growth</label>
</section>
<br>
<hr style="width:50%">
<br>
<section>
<h2>Select Number of Growth</h2>
<input id="num-of-growth" type="number" min="1" step="1" value="1">
<br>
<br>
<button type="button" onclick="numOfGrowth();">START</button>
<button type="button" onclick="refresh();">REFRESH</button>
<p style="color:magenta;">Please, open debugger tools for analysing memory usage!</p>
</section>
<br>
<hr style="width:50%">
<br>
<section>
<br>
<br>
For more explanation please visit -
<a href="https://github.com/Incrementis/Javascript-methods-on-prototypes-/wiki">
Methods on Prototypes Wiki</a>
</section>
</body>
<footer>
<script language="javascript" type="text/javascript" src="methods.js"></script>
</footer>
</html>