-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (80 loc) · 1.65 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
<!DOCTYPE html>
<html>
<head>
<title>Index Page</title>
<link rel="stylesheet" type="text/css" href="./assets/style.css?v=0.2">
</head>
<body>
<main class="documentation">
<h3 class="documentation-header">
Implementations of Data Structure & Algorithm in <mark>JavaScript</mark>
<small class="documentation-subheader">by <a href="http://github.com/ibnahmed" target="_blank" >Muntaha Ibn Ahmed</a></small>
</h3>
<div class="documentation-body"></div>
</main>
<script type="text/javascript">
const items = [
{
name: 'Array',
link: 'Array/index.html'
},
{
name: 'Linked-List',
link: 'Linked-List/index.html'
},
{
name: 'Stack',
link: 'Stack/index.html'
},
{
name: 'Queue',
link: 'Queue/index.html'
},
{
name: 'Hash-Table',
link: 'Hash-Table/index.html'
},
{
name: 'Binary Search',
link: 'Binary-Search/index.html'
},
{
name: 'Linear Search',
link: 'Linear-Search/index.html'
},
{
name: 'Bubble Sort',
link: 'Bubble-Sort/index.html'
},
{
name: 'Insertion Sort',
link: 'Insertion-Sort/index.html'
},
{
name: 'Merge Sort',
link: 'Merge-Sort/index.html'
},
{
name: 'Quick Sort',
link: 'Quick-Sort/index.html'
},
{
name: 'Selection Sort',
link: 'Selection-Sort/index.html'
},
];
let html = '';
items.forEach(item => {
html += `
<p class="documentation-item">
<span class="key">${item.name}</span>
<span class="value">
<a href="${item.link}">${item.link}</a>
</span>
</p>
`
});
document.querySelector('.documentation-body').innerHTML = html;
</script>
</body>
</html>