-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
28 lines (28 loc) · 882 Bytes
/
index.php
File metadata and controls
28 lines (28 loc) · 882 Bytes
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
<html>
<head>
<title>Sorting visualizer</title>
<link rel="stylesheet" href="stylesheets/index.css" type="text/css">
</head>
<body>
<div id="content">
<h1>Der B24 Super sorter</h1>
<form action="sort.php" method="post">
<fieldset>
<legend> Sorting algorithm</legend>
<select name="algorithm" title="Sorting algorithm">
<option value="bubble">bubble sort</option>
</select>
</fieldset>
<fieldset>
<legend>Numbers to sort</legend>
<textarea name="numbers" cols="30" rows="10" title="Numbers to sort">One number per line</textarea>
</fieldset>
<fieldset>
<legend>Sort or discard</legend>
<button type="submit">Sort</button>
<button type="reset">Discard</button>
</fieldset>
</form>
</div>
</body>
</html>