-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
472 lines (438 loc) · 20.6 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
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
<!DOCTYPE HTML>
<html>
<head>
<title>Welcome</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
</head>
<body>
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<div class="logo">
<span class="icon fas fa-code"></span>
</div>
<div class="content">
<div class="inner">
<h1>Jhon Keneth Namias</h1>
<h1>ICT - 2</h1>
<p>COMPUTER PROGRAMMING & COMPUTER SYSTEM SERVICING<br />
PETA 1 & 2</p>
</div>
</div>
<nav>
<ul>
<li><a href="#intro">Intro</a></li>
<li><a href="#Website">Website</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<div id="main">
<article id="intro">
<h2 class="major">Intro</h2>
<blockquote>Education is the key to success in life, and teachers make a lasting impact in the lives of their students. - Solomon Ortiz</blockquote>
<span class="image main"><img src="images/pic01.jpg" alt="NAMIAS SAKALAM" /></span>
<p>This is my Performance Task 1 & 2 in Computer Programming and Computer System Servicing on 4<sup>th</sup> Quarter. <br /> <hr>
"A penny saved is a penny earned," the well-known quote by Ben Franklin, is an expression I have never quite understood, because to me it seems that any penny—whether saved or spent—is still earned no matter what is done with it. My earliest memories of earning and spending money are when I was ten years old when I would sell Dixie cups of too-sweet lemonade and bags of salty popcorn to the neighborhood kids. From that early age, I learned the importance of money management and the math skills involved. I learned that there were four quarters in a dollar, and if I bought a non-food item—like a handful of balloons—that I was going to need to come up with six cents for every dollar I spent. I also knew that Kool-Aid packets were 25 cents each or that I could save money and get five of them for a dollar. Today, however, money management involves knowing more than which combinations of 10-cent, five-cent, and one-penny candies I can get for a dollar. Proper money management today involves knowing interest rates, balancing checkbooks, paying taxes, estimating my paycheck, and budgeting to make ends meet from month-to-month. <br /> <hr>
In development of this websites I understand that programming can be hard and mind-boggling but I also learned many techniques on developing a website. Still in the end insted of giving up I came up with the idea of surpasing my biggest insecuirity and proceed to go forward way beyong my imagination.<br />
</p>
</article>
<article id="about">
<h2 class="major">About</h2>
<span class="image main"><img src="images/pic03.jpg" alt="picture of me" /></span>
<p>
This is for the Performance task 1 & 2 for computer programming and computer system servicing in 4th quarter 2nd semester at YASC. <br />
The main purpose of this webpage is to highlight the websites I made from March 1 to March 29 2021 some of the website are "over engineered" because I made them have too many features than necessary for an online shopping website its was unnecessarily complex or inefficient at the end but it was an successful training project as a student. <br />
The development and its process are such a mystery at first but now I can keep up and manage to add more features to the website although i still have many things to learn like other programming languages and data structures and varous other stuff this project was an great headstart.
</p>
<ul class="icons">
<li><a href="https://www.facebook.com/jhonkeneth.namias.75/" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
<li><a href="https://twitter.com/Namias9" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="https://www.instagram.com/namias99/" class="icon fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon fa-github"><span class="label">GitHub</span></a></li>
</ul>
</article>
<article id="Website">
<h2 class="major">Website</h2>
<p>This is my Performance Task 1 & 2 in Computer Programming and Computer System Servicing for 4<sup>th</sup> Quarter 2nd semester<br />Deadline: March 25, 2021 <br /><hr>
<strong>First Work:</strong> <a href="./Online Shopping Website/Cream.py.html">Cream.py</a> <br />
I made this website with a help on <a href="https://github.com/">Github</a> for the layout of this website here's the <a href="https://github.com/lemidia/shopping-website-javascript">link</a> </li><br />
<section>
<ul class="actions">
<li><a href="./Online Shopping Website/Cream.py.html" class="button">Click to visit</a></li>
</ul>
</section>
<span class="image main"><img src="images/Presentation 1.png" alt="Online Shopping Website" /></span>
The hardest part of this website is the cart.js. I wanted it to have a delete function yet I still don't have a much progress about it. <br /> This is the code:
<pre><code>delete() {
if (event.target.classList == "product-box__btn--delete") {
let mainElement = event.target.parentNode.parentNode
mainElement.classList.add('delete')
setTimeout(() => {
mainElement.remove();
cart.price();
}, 900);
}
},</code></pre>
<strong>Second Work:</strong> <a href=".Computer Store/Computer Store.html">Namias's Computer Parts Shop</a> <br /> This probably the most conveneint website I made. It's simple yet pleasing to look and it has a filter element which is conveneint to use. I can rate this website 9/10 personally. Also, here's the link if you wanna see <a href="https://github.com/constantinehuzenko/cbikes">Click here</a> <br />
<section>
<ul class="actions">
<li><a href="./Computer Store/Computer Store.html" class="button">Click to visit</a></li>
</ul>
</section>
<span class="image main"><img src="images/Presentation 2.png" alt="Computer Parts Store [Namias]" /></span>
<pre><code>const filter = {
filterAction() {
document.querySelectorAll(".product-box__item").forEach((item) => {
let categoryAtribut = item.getAttribute("data-category");
let priceAtribut = Number(item.getAttribute("value"));
if (
(filter.category() == categoryAtribut || filter.category() == "all") &&
(filter.price() >= priceAtribut || filter.price() == "0")
) {
item.style.display = "flex";
} else {
item.style.display = "none";
}
});
},
price() {
let priceValue = document.querySelector(".price-value__item");
priceValue.innerHTML = document.querySelector("[data-filter]").value;
return document.querySelector("[data-filter]").value;
},
category() {
let radio = document.querySelectorAll(".category-control");
for (const item of radio) {
if (item.checked) {
return item.getAttribute("data-value-category");
}
}
},
checkAtributeToggle() {
document.querySelector(".select-control").addEventListener("click", () => {
document.querySelectorAll(".category-control").forEach((item) => {
item.removeAttribute("checked");
});
if (event.target.classList == "category-control") {
event.target.setAttribute("checked", "");
} else {
event.stopImmediatePropagation();
}
});
},
};
filter.checkAtributeToggle();
document
.querySelector(".select-control")
.addEventListener("click", filter.filterAction);
document
.querySelector(".price-control")
.addEventListener("change", filter.filterAction);
</code></pre>
<strong>Third Work:</strong> <a href="./Lazada Website/index.html">Namias, Lazada clone website</a><br />
A website semi-directly connected to the Lazada Online Shopping website and most of the function are on lazada but it represented on my website. Wanna see the link? <a href="https://github.com/constantinehuzenko/cbikes">Click here</a> <br />
<section>
<ul class="actions">
<li><a href="./Lazada Website/index.html" class="button">Click to visit</a></li>
</ul>
</section>
<span class="image main"><img src="images/Presentation 3.png" alt="Presentation Lazada clone" /></span>
<span class="image main"><img src="images/Presentation 4.png" alt="Presentation Lazada clone" /></span>
<span class="image main"><img src="images/Presentation 5.png" alt="Presentation Lazada clone" /></span>
<span class="image main"><img src="images/Presentation 6.png" alt="Presentation Lazada clone" /></span>
<strong>Forth Work:</strong> <a href="./O-Shoppy/home.html">O-Shoppy</a><br />
This website is still in development, theres no add to cart function and the sign in button dont work but im sure once its done it will be a proper site for for shopping the design are good. <a href="https://github.com/koushil-mankali/shopping-site-frontend">Github link</a>
<br />
<section>
<ul class="actions">
<li><a href="./O-Shoppy/home.html" class="button">Click to visit</a></li>
</ul>
</section>
<span class="image main"><img src="images/Presentation 7.png" alt="Presentation Lazada clone" /></span>
<span class="image main"><img src="images/Presentation 7,1.png" alt="Presentation Lazada clone" /></span>
<strong>Fifth Work:</strong> <a href="./Tera/index.html">Tera</a><br />
Tera, It is an Online Grocery Shopping web application developed using HTML, CSS, Bootstrap and JavaScript. It is completely dynamic in nature. Items can be added into cart in any quantity and then total bill is generated. User can like the item, add it to favourites and wishlist as well. This website is still in development theres no significant about it, but once we add the neccesary function and login/ sing up form it will become a good website, its disaponting that my work cannot be finshed due to limited time and too much work on other subject. <a href="https://github.com/Komal97/GroceryMart">Github link</a>
<br />
<section>
<ul class="actions">
<li><a href="./Tera/index.html" class="button">Click to visit</a></li>
</ul>
</section>
<span class="image main"><img src="images/Presentation 8.png" alt="Presentation Tera" /></span>
<span class="image main"><img src="images/Presentation 9.png" alt="Presentation Tera" /></span>
</p>
</article>
<article id="contact">
<h2 class="major">Contact</h2>
<form method="post" action="#">
<div class="field half first">
<label for="name">Name</label>
<input type="text" name="name" id="name" />
</div>
<div class="field half">
<label for="email">Email</label>
<input type="text" name="email" id="email" />
</div>
<div class="field">
<label for="message">Message</label>
<textarea name="message" id="message" rows="4"></textarea>
</div>
<ul class="actions">
<li><input type="submit" value="Send Message" class="special" /></li>
<li><input type="reset" value="Reset" /></li>
</ul>
</form>
<ul class="icons">
<li><a href="https://www.facebook.com/jhonkeneth.namias.75/" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
<li><a href="https://twitter.com/Namias9" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="https://www.instagram.com/namias99/" class="icon fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon fa-github"><span class="label">GitHub</span></a></li>
</ul>
</article>
<!-- Elements -->
<article id="elements">
<h2 class="major">Elements</h2>
<section>
<h3 class="major">Text</h3>
<p>This is <b>bold</b> and this is <strong>strong</strong>. This is <i>italic</i> and this is <em>emphasized</em>.
This is <sup>superscript</sup> text and this is <sub>subscript</sub> text.
This is <u>underlined</u> and this is code: <code>for (;;) { ... }</code>. Finally, <a href="#">this is a link</a>.</p>
<hr />
<h1>Heading Level 1</h1>
<h2>Heading Level 2</h2>
<h3>Heading Level 3</h3>
<h4>Heading Level 4</h4>
<h5>Heading Level 5</h5>
<h6>Heading Level 6</h6>
<hr />
<h4>Blockquote</h4>
<blockquote>Education is the key to success in life, and teachers make a lasting impact in the lives of their students. - Solomon Ortiz</blockquote>
<h4>Preformatted</h4>
<pre><code>i = 0;
while (!deck.isInOrder()) {
print 'Iteration ' + i;
deck.shuffle();
i++;
}
print 'It took ' + i + ' iterations to sort the deck.';</code></pre>
</section>
<section>
<h3 class="major">Lists</h3>
<h4>Unordered</h4>
<ul>
<li>First Unordered.</li>
<li>Second Unordered.</li>
<li>Third Unordered.</li>
</ul>
<h4>Alternate</h4>
<ul class="alt">
<li>First Alternate.</li>
<li>Second Alternate.</li>
<li>Third Alternate.</li>
</ul>
<h4>Ordered</h4>
<ol>
<li>First Ordered.</li>
<li>Second Ordered.</li>
<li>Third Ordered.</li>
<li>Forth Ordered.</li>
<li>Fifth Ordered.</li>
</ol>
<h4>Icons</h4>
<ul class="icons">
<li><a href="https://twitter.com/Namias9" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="https://www.facebook.com/jhonkeneth.namias.75/" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
<li><a href="https://www.instagram.com/namias99/" class="icon fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon fa-github"><span class="label">Github</span></a></li>
</ul>
<h4>Actions</h4>
<ul class="actions">
<li><a href="#" class="button special">Default</a></li>
<li><a href="#" class="button">Default</a></li>
</ul>
<ul class="actions vertical">
<li><a href="#" class="button special">Default</a></li>
<li><a href="#" class="button">Default</a></li>
</ul>
</section>
<section>
<h3 class="major">Table</h3>
<h4>Default</h4>
<div class="table-wrapper">
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<tr>
<td>Item One</td>
<td>Ante turpis integer aliquet porttitor.</td>
<td>29.99</td>
</tr>
<tr>
<td>Item Two</td>
<td>Vis ac commodo adipiscing arcu aliquet.</td>
<td>19.99</td>
</tr>
<tr>
<td>Item Three</td>
<td> Morbi faucibus arcu accumsan lorem.</td>
<td>29.99</td>
</tr>
<tr>
<td>Item Four</td>
<td>Vitae integer tempus condimentum.</td>
<td>19.99</td>
</tr>
<tr>
<td>Item Five</td>
<td>Ante turpis integer aliquet porttitor.</td>
<td>29.99</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2"></td>
<td>100.00</td>
</tr>
</tfoot>
</table>
</div>
<h4>Alternate</h4>
<div class="table-wrapper">
<table class="alt">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<tr>
<td>Item One</td>
<td>Ante turpis integer aliquet porttitor.</td>
<td>29.99</td>
</tr>
<tr>
<td>Item Two</td>
<td>Vis ac commodo adipiscing arcu aliquet.</td>
<td>19.99</td>
</tr>
<tr>
<td>Item Three</td>
<td> Morbi faucibus arcu accumsan lorem.</td>
<td>29.99</td>
</tr>
<tr>
<td>Item Four</td>
<td>Vitae integer tempus condimentum.</td>
<td>19.99</td>
</tr>
<tr>
<td>Item Five</td>
<td>Ante turpis integer aliquet porttitor.</td>
<td>29.99</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2"></td>
<td>100.00</td>
</tr>
</tfoot>
</table>
</div>
</section>
<section>
<h3 class="major">Buttons</h3>
<ul class="actions">
<li><a href="#" class="button special">Special</a></li>
<li><a href="#" class="button">Default</a></li>
</ul>
<ul class="actions">
<li><a href="#" class="button">Default</a></li>
<li><a href="#" class="button small">Small</a></li>
</ul>
<ul class="actions">
<li><a href="#" class="button special icon fa-download">Icon</a></li>
<li><a href="#" class="button icon fa-download">Icon</a></li>
</ul>
<ul class="actions">
<li><span class="button special disabled">Disabled</span></li>
<li><span class="button disabled">Disabled</span></li>
</ul>
</section>
<section>
<h3 class="major">Form</h3>
<form method="post" action="#">
<div class="field half first">
<label for="demo-name">Name</label>
<input type="text" name="demo-name" id="demo-name" value="" placeholder="Jane Doe" />
</div>
<div class="field half">
<label for="demo-email">Email</label>
<input type="email" name="demo-email" id="demo-email" value="" placeholder="[email protected]" />
</div>
<div class="field">
<label for="demo-category">Category</label>
<div class="select-wrapper">
<select name="demo-category" id="demo-category">
<option value="">-</option>
<option value="1">Manufacturing</option>
<option value="1">Shipping</option>
<option value="1">Administration</option>
<option value="1">Human Resources</option>
</select>
</div>
</div>
<div class="field half first">
<input type="radio" id="demo-priority-low" name="demo-priority" checked>
<label for="demo-priority-low">Low</label>
</div>
<div class="field half">
<input type="radio" id="demo-priority-high" name="demo-priority">
<label for="demo-priority-high">High</label>
</div>
<div class="field half first">
<input type="checkbox" id="demo-copy" name="demo-copy">
<label for="demo-copy">Email me a copy</label>
</div>
<div class="field half">
<input type="checkbox" id="demo-human" name="demo-human" checked>
<label for="demo-human">Not a robot</label>
</div>
<div class="field">
<label for="demo-message">Message</label>
<textarea name="demo-message" id="demo-message" placeholder="Enter your message" rows="6"></textarea>
</div>
<ul class="actions">
<li><input type="submit" value="Send Message" class="special" /></li>
<li><input type="reset" value="Reset" /></li>
</ul>
</form>
</section>
</article>
</div>
<footer id="footer">
<p class="copyright">©Jhon Keneth Ryan B. Namias, ICT 2</p>
</footer>
</div>
<div id="bg"></div>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>