-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (64 loc) · 2.25 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE HTML>
<html>
<head>
<title>Bind and Curry</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.
'<option value="" disabled selected>' simulates a placeholder for the drop list
In '<body>' the 'style="text-align:center;"'
centers similar like the tag '<center>' which was used in the previous mini-projects.
Some tag attributes are put into new lines, to keep them more visible.
===============================================================================================
-->
<body style="text-align:center;">
<section>
<h2>Embeded Youtube Videos</h2>
<br>
<div>
<button id="random"
style="border:none;background-color:lightblue;height:25px;"
onclick="RANDOM();">
RANDOM(Good Luck!)
</button>
<br>
<br>
<input type="text" class="user-input" placeholder="Please insert a video ID">
<input type="text" class="user-input" placeholder="Please insert a video ID">
<input type="text" class="user-input" placeholder="Please insert a video ID">
<br>
<br>
<button id="go"
style="border:none; background-color:green; height:25px;"
onclick="GO()">
GO
</button>
</div>
<br>
<div>
<iframe width="300px" height="150px" class="video">
Your browser does not support iframe!
</iframe>
<iframe width="300px" height="150px" class="video">
Your browser does not support iframe!
</iframe>
<iframe width="300px" height="150px" class="video">
Your browser does not support iframe!
</iframe>
</div>
</section>
<section>
<hr width="50%">
<br>
<br>
For more explanation please visit -
<a href = "https://github.com/Incrementis/Javascript-bind-and-curry-/wiki">
Bind and curry Wiki</a>
</section>
</body>
<script language="javascript" type="text/javascript" src="curry.js"></script>
</html>