-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (71 loc) · 2.56 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!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">
<link rel="icon" href="assets/blue-arrow.png" type="image/x-icon">
<link rel="stylesheet" href="vendor/css/normalize.css">
<link rel="stylesheet" href="vendor/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/animations.css">
<script src="src/index.js" type="module" defer></script>
<title>Linked list</title>
</head>
<body>
<header class="header">
<div class="header-container">
<div></div>
<h1>Linked <span>List</span> Visualization</h1>
<button id="theme-switcher">
<i class="fa-solid fa-circle-half-stroke"></i>
</button>
</div>
</header>
<main>
<section class="list">
</section>
<section class="errors hide">
<i class="fa-sharp fa-solid fa-circle-exclamation"></i>
<p>
</p>
</section>
<section class="operations">
<div class="wrapper">
<form class="button-wrapper" id="set-node">
<button type="submit">Set</button>
<input type="number" name="index" placeholder="index">
<input type="number" name="data" placeholder="data">
</form>
<form class="button-wrapper" id="insert-node">
<button type="submit">Insert</button>
<input type="number" name="index" placeholder="index">
<input type="number" name="data" placeholder="data">
</form>
<form class="button-wrapper" id="add-node">
<button type="submit">Add</button>
<input type="number" name="data" placeholder="data">
</form>
<form class="remove-button-wrapper" id="remove-node">
<div class="remove-button">
<button type="submit">
Remove
</button>
<button class="fas fa-cog"></button>
</div>
<div class="hide">
<button>Index</button>
<button>Data</button>
<button>Clear all</button>
</div>
<input class="hide" type="number" name="index" placeholder="index">
<input class="hide" type="number" name="data" placeholder="data">
</form>
</div>
</section>
</main>
</body>
</html>