-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathclosure.html
24 lines (24 loc) · 1.2 KB
/
closure.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!-- Boostrap 4 -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Advanced JS: Objects & Functions - Closures</title>
</head>
<body>
<div class="container text-center">
<h1 class="display-3">Closures</h1>
<p class="lead">Open <a href="https://github.com/Ch-sriram/JavaScript/blob/master/JS-Objects-Functions-Advanced/scripts/closure.js">closure.js</a> for a thorough explaination of the topic.</p>
<img src="./assets/img/closure.png" alt="Image for Understanding Closures" class="img-thumbnail"/>
<p class="lead">
<em>Check the developer console for the log (Only in .html version)</em>
</p>
<p>
Images are taken from: <a href="https://www.udemy.com/the-complete-javascript-course/">JS Course by Jonas Schmedtmann</a>
</p>
</div>
<script src="./scripts/closure.js" type="text/javascript"></script>
</body>
</html>