-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalgorithms.html
More file actions
197 lines (189 loc) · 12.5 KB
/
algorithms.html
File metadata and controls
197 lines (189 loc) · 12.5 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!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>Sorting-Algorithms-in-Javascript</title>
<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=Raleway:wght@400;500;600;700&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/77ebb379f6.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="../css/main.css">
</head>
<body>
<nav class="navbar">
<div class="navbar__container wrapper">
<a href="javascript:void(0)"> <img src="/img/logo.svg" alt="Website logo"> </a>
<div class="navbar__list-container">
<ul class="navbar__list">
<li class="navbar__list-item"><a href="news.html" class="navbar__list-link">News</a></li>
<li class="navbar__list-item"><a href="algorithms.html" class="navbar__list-link">Algorithm</a></li>
<li class="navbar__list-item"><a href="about.html" class="navbar__list-link">About</a></li>
</ul>
</div>
<a href="#contact" class="navbar__btn">Contact us</a>
</div>
</nav>
<main>
<section class="algorithm">
<div class="wrapper">
<article class="algorithm__article">
<h2 class="algorithm__header">Bubble Sort</h2>
<p class="algorithm__description">Bubble Sort is the simplest sorting algorithm that works by
repeatedly swapping the adjacent elements if they are in wrong order.</p>
<div class="algorithm__animation-container">
<div class="algorithm__animation-box">
<div class="algorithm__animation-values">
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">1</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">2</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">3</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">4</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">5</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">6</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">7</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">8</p>
</div>
</div>
<p class="algorithm__aniamtion-paragraph">Temp:</p>
</div>
<div class="algorithm__options">
<button class="algorithm__btn algorithm__btn--start">start</button>
<button class="algorithm__btn algorithm__btn--stop">pause</button>
<div class="algorithm__result-box"></div>
</div>
</div>
<h3 class="coding-box__title">Code</h3>
<div class="coding-box__container">
<div class="coding-box__image">
<img src="../img/tex-code-algorithm-section.svg" alt="Code">
</div>
<p class="coding-box__paragraph">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed id urna sed tortor
dignissim semper. Nulla nec dapibus urna, a ultrices ante. Etiam purus lorem, placerat
vitae hendrerit id, ultrices sed est. Phasellus scelerisque volutpat consectetur.
Praesent blandit blandit dui sed bibendum. Maecenas vel aliquam eros. Integer fermentum
dictum sapien, vel suscipit tortor blandit sit amet. Donec tincidunt non orci ut
bibendum. Sed porttitor dui dolor, vel ornare nunc malesuada eget. Nunc lobortis felis
id risus vestibulum maximus. Sed lectus lectus, ultrices et convallis in, consectetur
vitae nisi. Mauris non dignissim nulla. Nam et malesuada ex, vel ultricies sapien. Fusce
tristique lectus a nulla maximus bibendum. Fusce egestas sed urna eu feugiat.
</p>
<div class="algorithm__aniamtion-container">
<div class="algorithm__animation-container">
<div class="algorithm__animation-box">
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">1</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">2</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">3</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">4</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">5</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">6</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">7</p>
</div>
<div class="algorithm__animation-item">
<img src="/img/algorithm-rectangle-item.svg" alt="Rectangle">
<p class="algorithm__animation-text">8</p>
</div>
<p class="algorithm__aniamtion-paragraph">Temp:</p>
</div>
<div class="algorithm__options">
<button class="algorithm__btn algorithm__btn--start">start</button>
<button class="algorithm__btn algorithm__btn--stop">pause</button>
<div class="algorithm__result-box"></div>
</div>
</div>
<h3 class="algorithm__coding-box-title">Code</h3>
<div class="algorithm__coding-box-container">
<div class="algorithm__coding-box">
</div>
<div class="algorithm__coding-box-text"></div>
<div class="algorithm__coding-box">
<img src="/img/tex-code-algorithm-section.svg" alt="Code">
</div>
<p class="algorithm__coding-box-paragraph">
<h3 class="coding-box__title">Code</h3>
<div class="coding-box__container">
<div class="coding-box__image">
<img src="../img/tex-code-algorithm-section.svg" alt="Code">
</div>
<p class="coding-box__paragraph">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed id urna sed
tortor
dignissim semper. Nulla nec dapibus urna, a ultrices ante. Etiam purus
lorem, placerat
vitae hendrerit id, ultrices sed est. Phasellus scelerisque volutpat
consectetur.
Praesent blandit blandit dui sed bibendum. Maecenas vel aliquam eros.
Integer fermentum
dictum sapien, vel suscipit tortor blandit sit amet. Donec tincidunt non
orci ut
bibendum. Sed porttitor dui dolor, vel ornare nunc malesuada eget. Nunc
lobortis felis
id risus vestibulum maximus. Sed lectus lectus, ultrices et convallis in,
consectetur
vitae nisi. Mauris non dignissim nulla. Nam et malesuada ex, vel ultricies
sapien. Fusce
tristique lectus a nulla maximus bibendum. Fusce egestas sed urna eu
feugiat.
</p>
</div>
</article>
</div>
</section>
</main>
<footer class="footer wrapper">
<nav class="footer__nav-container">
<img src="/img/footer-logo.svg" alt="Website logo" class="footer__logo">
<ul class="footer__list">
<li class="footer__list-item"><a href="news.html" class="footer__list-link">News</a></li>
<li class="footer__list-item"><a href="algorithms.html" class="footer__list-link">Algorithm</a></li>
<li class="footer__list-item"><a href="about.html" class="footer__list-link">About</a></li>
</ul>
</nav>
<p class="footer__author-information">Copyright © 2020 Tomasz Gajda</p>
</footer>
</body>
</html>