-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
104 lines (104 loc) · 3.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="style.css" />
<title>OOP in JS</title>
</head>
<body>
<h1>Object Oriented JavaScript</h1>
<h2>Creating objects in JavaScript</h2>
<h3>1. Object literals</h3>
<iframe
height="600px"
width="100%"
src="https://repl.it/@laurenmayers/object-literals?lite=true"
scrolling="no"
frameborder="no"
allowtransparency="true"
allowfullscreen="true"
sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"
></iframe>
<h3>2. Constructors</h3>
<iframe
height="800px"
width="100%"
src="https://repl.it/@laurenmayers/constructors?lite=true"
scrolling="no"
frameborder="no"
allowtransparency="true"
allowfullscreen="true"
sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"
></iframe>
<h3>3. Prototypal inheritance & Object.create()</h3>
<iframe
height="800px"
width="100%"
src="https://repl.it/@laurenmayers/object-create?lite=true"
scrolling="no"
frameborder="no"
allowtransparency="true"
allowfullscreen="true"
sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"
></iframe>
<h3>4. Prototypal instantiation & Object.prototype</h3>
<iframe
height="1200px"
width="100%"
src="https://repl.it/@laurenmayers/prototypal-instantiation?lite=true"
scrolling="no"
frameborder="no"
allowtransparency="true"
allowfullscreen="true"
sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"
></iframe>
<h3>5. ES6 class syntax</h3>
<iframe
height="1000px"
width="100%"
src="https://repl.it/@laurenmayers/classes-intro?lite=true"
scrolling="no"
frameborder="no"
allowtransparency="true"
allowfullscreen="true"
sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"
></iframe>
<h3>6. ES6 classes cont...</h3>
<iframe
height="1000px"
width="100%"
src="https://repl.it/@laurenmayers/classes-cont?lite=true"
scrolling="no"
frameborder="no"
allowtransparency="true"
allowfullscreen="true"
sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"
></iframe>
<h2>Working with JavaScript Objects</h2>
<h3>7. for...in loop</h3>
<iframe
height="600px"
width="100%"
src="https://repl.it/@laurenmayers/forin?lite=true"
scrolling="no"
frameborder="no"
allowtransparency="true"
allowfullscreen="true"
sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"
></iframe>
<h3>8. Getters and setters</h3>
<iframe
height="600px"
width="100%"
src="https://repl.it/@laurenmayers/getters-and-setters?lite=true"
scrolling="no"
frameborder="no"
allowtransparency="true"
allowfullscreen="true"
sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"
></iframe>
<footer>freeCodeCamp[Ottawa] 2019</footer>
</body>
</html>