-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (64 loc) · 2.24 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>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>ES6 Event Handlers</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<!-- <link rel='stylesheet' type='text/css' media='screen' href='main.css'> -->
<script type="module" src='task1.js'></script>
</head>
<body>
<div>
<h1>This is ES6 Event Handlers</h1>
<button id="newBut" onclick="OnClickEvent()" onmouseover="OnOver()" onmouseout="OnOut()" type="submit">Click Me</button><span id="demo" style="padding-left: 2%;"></span>
</div>
<div>
<h1><span id="h1text">Text</span></h1>
</div>
<div>
<h2 id="h2text">H2 Text</h2>
</div>
<div>
<h2 id="h3text">H3 Text</h2>
</div>
<div>
<span><button type="submit" id="sort_asc" onclick="arrange()">Ascending</button></span>
<span><button type="submit" id="sort_dec" onclick="arrange(false)">Descending</button></span>
<label for="search">Filter Results: </label>
<select name="search" id="search_column" >
<option value="number" selected>Number</option>
<option value="root">Root</option>
</select>
<select name="operator" id="search_operator">
<option value="=">=</option>
<option value="!=">!=</option>
<option value="<"><</option>
<option value=">">></option>
<option value="<="><=</option>
<option value=">=">>=</option>
</select>
<span><input type="text" id="search_value" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');" placeholder="30" /> </span>
<span><button type="submit" id="filter" onclick="search();" >Search</button></span>
<span><button type="reset" id="reset" onclick="resetDOM()" >Reset</button></span>
</div>
<div>
<table id="mathTable">
<thead>
<th>Number</th>
<th>Root</th>
</thead>
<tbody>
<tr><td></td><td></td></tr>
</tbody>
</table>
</div>
<div>
<h3> Hello World</h3>
</div>
<label for="newUser">Create User</label>
<input type="text" name="nuwUser" id="newuser"/>
<button type="submit" id="user_button">Create</button>
<!-- <script src='task1.js'></script> -->
</body>
</html>