-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhue.html
More file actions
55 lines (40 loc) · 1.46 KB
/
hue.html
File metadata and controls
55 lines (40 loc) · 1.46 KB
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
<html>
<body>
<h1> JavaSCript Tutorial </h1>
<div>
<script language="javascript" type="text/javascript">
// document.write(Number.MAX_VALUE);
// document.write(Number.MIN_VALUE);
var num_var = 5;
var str_var = "10"
total1 = num_var + str_var;
total2 = num_var + str_var;
document.write(total1 + " " + total2 + "</br>");
var str1 = "Propozitie";
document.write(" > "+str1.substring(2,5)+" "+str1.charAt(str1.length-1)+"</br>");
var arr = ['Focus', 'Fiesta', 'Mondeo', 'GT' ]
for(i in arr)
{
document.write("Elm la poz [ " + i + " ] : "+ arr[i]+ "</br>");
}
document.write("-------"+"</br>");
for (i = 0 ; i<10 ; i++)
{
document.write(i + " ");
if(i%3==0)
{
document.write("</br>");
}
}
</script>
<noscript>
This site requires javascript
</noscript>
</div>
------------------------- <p>
<script language="javascript" src="addFunc.js">
//try functions
document.write("Addition : " + addThese(5.25) + "</br>");
</script>
</body>
</html>