-
Notifications
You must be signed in to change notification settings - Fork 9
/
first.html
84 lines (66 loc) · 2.95 KB
/
first.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Intro to Javascript</title>
</head>
<body>
<!-- Introduction -->
<h1>Welcome to do fun with Javascript</h1>
<input type="text" id="num1" placeholder="first num">
<input type="text" id="num2" placeholder="second num">
<input type="text" id="num3" placeholder="answer">
<input type="submit" value="Multiply" onClick="Multiply()">
<input type="submit" value="Division" onClick="Divide()">
<hr>
<input type="text" id="n1" placeholder="input1">
<input type="text" id="n2" placeholder="input2">
<input type="text" id="ans" placeholder="answer">
<input type="submit" onClick="Large()">
<hr>
<input type="text" id="i1" placeholder="input1">
<input type="text" id="i2" placeholder="input2">
<input type="text" id="i3" placeholder="input3">
<input type="submit" onClick="sign()">
<hr>
<input type="text" name="arr[]" placeholder="variable">
<input type="text" name="arr[]" placeholder="variable">
<input type="text" name="arr[]" placeholder="variable">
<input type="text" name="arr[]" placeholder="variable">
<input type="text" id="ans1" placeholder="result">
<input type="text" id="ans2" placeholder="String">
<input type="submit" onClick="isarray()" value="check">
<hr>
<input type="text" name="ar[]" placeholder="var1">
<input type="text" name="ar[]" placeholder="var2">
<input type="text" name="ar[]" placeholder="var3">
<input type="text" name="ar[]" placeholder="var4">
<input type="text" name="ar[]" placeholder="var5">
<input type="text" name="ar[]" id="wow" placeholder="sorted array">
<input type="submit" onClick="sort()">
<input type="submit" value="start" onClick="start()">
<p id="even"></p>
<p id="odd"></p>
<script type="text/javascript" src="first.js"></script>
<hr>
<input type="text" id="a1" placeholder="enter element">
<input type="text" id="a2" placeholder="enter element">
<input type="text" id="a3" placeholder="enter element">
<input type="text" id="a4" placeholder="enter element">
<input type="text" id="a5" placeholder="enter element">
<input type="submit" onClick="show()">
<hr>
<!-- <input type="submit" > -->
<input type="submit" value="start" onClick="cnt()">
<hr>
<input type="text" id="number1" placeholder="enter number1" name="array[]">
<input type="text" id="number2" placeholder="enter number2" name="array[]">
<input type="text" id="number3" placeholder="enter number3" name="array[]">
<input type="text" id="number4" placeholder="enter number4" name="array[]">
<input type="text" id="number5" placeholder="enter number5" name="array[]">
<p id="par"></p>
<input type="submit" onClick="printev()" value="print even numbers">
</body>
</html>