-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
110 lines (103 loc) · 6.23 KB
/
index.html
File metadata and controls
110 lines (103 loc) · 6.23 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
<!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>DSA-JS</title>
</head>
<body class="bg-gray-900">
<section class="text-gray-600 body-font">
<div class="container px-5 py-24 mx-auto">
<div class="flex flex-wrap w-full mb-20 flex-col items-center text-center">
<h1 class="sm:text-3xl text-2xl font-medium title-font mb-2 text-white">Core-JavaScript</h1>
<p class="lg:w-1/2 w-full leading-relaxed text-gray-500">Learn Core JavaScript in easy and simple way.
</p>
</div>
<div class="flex flex-wrap -m-4">
<div class="xl:w-1/3 md:w-1/2 p-4">
<div class="border border-gray-200 p-6 rounded-lg w-full">
<div class="flex">
<div
class="inline-flex items-center justify-center rounded-full text-indigo-500 mb-4 mr-2">
<svg stroke="#bb86fc" fill="#bb86fc" stroke-width="0" viewBox="0 0 1024 1024"
height="26px" xmlns="http://www.w3.org/2000/svg">
<path
d="M880 298.4H521L403.7 186.2a8.15 8.15 0 0 0-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z">
</path>
</svg>
</div>
<h2 class="text-lg text-white font-medium title-font mb-2">Closure</h2>
</div>
<p class="leading-relaxed text-base">
A function with its outer lexical environments forms a Closure. Closures allow functions to
retain access to their lexical scope, even when the function is executed outside that scope.
</p>
<div>
<a href="./src/core-js/1.closoures/1.closure.html">
<div class="w-full mt-2">
<div class="bg-gray-800 rounded flex p-4 items-center">
<svg fill="none" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="3"
class="text-indigo-400 w-6 h-6 flex-shrink-0 mr-4" viewBox="0 0 24 24">
<path d="M22 11.08V12a10 10 0 11-5.93-9.14"></path>
<path d="M22 4L12 14.01l-3-3"></path>
</svg>
<span class="title-font font-medium text-white">Closure</span>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="text-gray-600 body-font">
<div class="container px-5 py-24 mx-auto">
<div class="flex flex-wrap w-full mb-20 flex-col items-center text-center">
<h1 class="sm:text-3xl text-2xl font-medium title-font mb-2 text-white">DSA-JS</h1>
<p class="lg:w-1/2 w-full leading-relaxed text-gray-500">Learn DSA with JS in easy & simple way.</p>
</div>
<div class="flex flex-wrap -m-4">
<div class="xl:w-1/3 md:w-1/2 p-4">
<div class="border border-gray-200 p-6 rounded-lg w-full">
<div class="flex">
<div
class="inline-flex items-center justify-center rounded-full text-indigo-500 mb-4 mr-2">
<svg stroke="#bb86fc" fill="#bb86fc" stroke-width="0" viewBox="0 0 1024 1024"
height="26px" xmlns="http://www.w3.org/2000/svg">
<path
d="M880 298.4H521L403.7 186.2a8.15 8.15 0 0 0-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z">
</path>
</svg>
</div>
<h2 class="text-lg text-white font-medium title-font mb-2">Recursion</h2>
</div>
<p class="leading-relaxed text-base">
Calling a function by itself is called Recursion. A recursive function solves a particular
problem by calling a copy of itself and solving smaller subproblems of the original
problems.</p>
<div>
<a href="./src/advance-js/recursion/1.factorial.html">
<div class="w-full mt-2">
<div class="bg-gray-800 rounded flex p-4 items-center">
<svg fill="none" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="3"
class="text-indigo-400 w-6 h-6 flex-shrink-0 mr-4" viewBox="0 0 24 24">
<path d="M22 11.08V12a10 10 0 11-5.93-9.14"></path>
<path d="M22 4L12 14.01l-3-3"></path>
</svg>
<span class="title-font font-medium text-white">1. Recursion-Factorial</span>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="https://cdn.tailwindcss.com"></script>
</body>
</html>