-
Notifications
You must be signed in to change notification settings - Fork 0
/
re_implement_basic.html
44 lines (39 loc) · 1.38 KB
/
re_implement_basic.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
<!DOCTYPE html>
<!--
REPORT
Hi professor
STATUS:- I have finished re implementing sum, multiply, reverse and filter longes functions using functional programming.
TIMESPENT:- It took me 45min to finish this assignment
POINT LEARNED:- I have practiced and learned about how to using JavaScript functional programming oprations to solve a problem and to write efficient code.
Challenge/Problem: NO, It was very easy
-->
<html lang="en">
<head>
<meta charset="utf-8">
<title>Decorator</title>
<link rel="stylesheet" href="css/re_basic.css">
</head>
<body>
<div class="container">
<h1>JavaScript Functional programming</h1>
<div class="section">
<h3>Sum: <code>reduce()</code></h3>
<p id="sum">some elelement</p>
</div>
<div class="section">
<h3>Multiply: <code>reduce()</code></h3>
<p id="multiply">some elelement</p>
</div>
<div class="section">
<h3>Reverse: <code>reduce()</code></h3>
<p id="reverse">some elelement</p>
</div>
<div class="section">
<h3>Filter longest: <code>filter()</code></h3>
<p id="filter">some elelement</p>
</div>
<p class="more">(Optional): Look in the chrome dev tool CTRL_SHIFT_J</p>
</div>
<script type="text/javascript" src="js/re_basic.js"></script>
</body>
</html>