-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (60 loc) · 3.12 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
<!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>Javascript demos</title>
<script src="script.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>javascript</h1>
<h2>my exercises (made on this page)</h2>
<p><strong>demonstrations of my work.</strong></p>
<p>lots of buttons for you to press</p>
<!--lots of buttons-->
<button onclick="myFunction()">if negative or positive</button>
<button onclick="myFunction2()">old enough to vote</button>
<button onclick="myFunction3()">bigger or smaller num</button>
<button onclick="myFunction4()">ascii num</button>
<button onclick="myFunction5()">print all ascii</button>
<button onclick="myFunction6()">uppercase or lowercase</button>
<button onclick="myFunction7()">from 1 to 10</button>
<button onclick="myFunction8()">from 1 to 100 sums</button>
<button onclick="myFunction9()">multi table - input</button>
<button onclick="myFunction10()">is prime or not</button>
<button onclick="myFunction11()">to the power of</button>
<button onclick="myFunction12()">reverse string</button>
<button onclick="myFunction13()">if prime V2</button>
<button onclick="myFunction14()">javascript obj ex</button>
<button onclick="myFunction15()">ez variables</button>
<button onclick="myFunction16()">whats 3+3</button>
<button onclick="myFunction17()">whats 9+10</button>
<button onclick="myFunction18()">max of 2 nums</button>
<button onclick="myFunction19()">max of 3 nums</button>
<button onclick="myFunction20()">ternary max 2 nums</button>
<button onclick="myFunction21()">even or odd</button>
<button onclick="myFunction22()">print js obj (only strings)</button>
<button onclick="myFunction23()">circle</button>
<button onclick="myFunction24()">read only obj</button>
<button onclick="myFunction25()">car obj</button>
<button onclick="myFunction26()">remove obj prop use del</button>
<button onclick="myFunction27()">javascript arrays</button>
<button onclick="myFunction28()">date and time</button>
<button onclick="myFunction29()">cars arrayv2</button>
<button onclick="myFunction30()">fruits array</button>
<button onclick="myFunction31a()">friends 🅰️</button>
<button onclick="myFunction31b()">friends 🅱️</button>
<button onclick="myFunction32a()">friends pop func</button>
<button onclick="myFunction32b()">unshift add friends</button>
<button onclick="myFunction33()">shift remove friend</button>
<button onclick="myFunction34()">reverse arr of fruits</button>
<button onclick="myFunction35a()">array fetch</button>
<button onclick="myFunction35b()">array slice</button>
<button onclick="myFunction36a()">print arr using for</button>
<button onclick="myFunction36b()">print arr 1-3</button>
<button onclick="myFunction37()">convert upper to lower-case</button>
<p id="demo"></p>
</body>
</html>