Skip to content

Commit 3efefd2

Browse files
committed
2 parents 4bb034f + ecfe28f commit 3efefd2

78 files changed

Lines changed: 597 additions & 130 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,43 @@ The **JavaScript OOP** is about building of low-level user interface. The course
88

99
### [00. Course Introduction](/Topics/00. Course-Introduction)
1010

11-
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-UI-and-DOM/master/Topics/00. Course-Introduction/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/00. Course-Introduction/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/00. Course-Introduction/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/00. Course-Introduction/VIDEOS.md)
11+
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-OOP/master/Topics/00. Course-Introduction/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/00. Course-Introduction/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/00. Course-Introduction/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/00. Course-Introduction/VIDEOS.md)
1212

1313
### [01. JavaScript Transpilers and Babel](/Topics/01. JavaScript-Transpilers-and-Babel)
1414

15-
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-UI-and-DOM/master/Topics/01. JavaScript-Transpilers-and-Babel/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/01. JavaScript-Transpilers-and-Babel/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/01. JavaScript-Transpilers-and-Babel/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/01. JavaScript-Transpilers-and-Babel/VIDEOS.md)
15+
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-OOP/master/Topics/01. JavaScript-Transpilers-and-Babel/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/01. JavaScript-Transpilers-and-Babel/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/01. JavaScript-Transpilers-and-Babel/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/01. JavaScript-Transpilers-and-Babel/VIDEOS.md)
1616

1717
### [02. Functions and Function Expressions](/Topics/02. Functions-and-Function-Expressions)
1818

19-
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-UI-and-DOM/master/Topics/02. Functions-and-Function-Expressions/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/02. Functions-and-Function-Expressions/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/02. Functions-and-Function-Expressions/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/02. Functions-and-Function-Expressions/VIDEOS.md)
19+
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-OOP/master/Topics/02. Functions-and-Function-Expressions/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/02. Functions-and-Function-Expressions/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/02. Functions-and-Function-Expressions/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/02. Functions-and-Function-Expressions/VIDEOS.md)
2020

2121
### [03. Closures and Scope](/Topics/03. Closures-and-Scope)
2222

23-
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-UI-and-DOM/master/Topics/03. Closures-and-Scope/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/03. Closures-and-Scope/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/03. Closures-and-Scope/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/03. Closures-and-Scope/VIDEOS.md)
23+
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-OOP/master/Topics/03. Closures-and-Scope/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/03. Closures-and-Scope/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/03. Closures-and-Scope/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/03. Closures-and-Scope/VIDEOS.md)
2424

2525
### [04. Classes and Class Constructors](/Topics/04. Classes-and-Class-Constructors)
2626

27-
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-UI-and-DOM/master/Topics/04. Classes-and-Class-Constructors/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/04. Classes-and-Class-Constructors/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/04. Classes-and-Class-Constructors/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/04. Classes-and-Class-Constructors/VIDEOS.md)
27+
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-OOP/master/Topics/04. Classes-and-Class-Constructors/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/04. Classes-and-Class-Constructors/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/04. Classes-and-Class-Constructors/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/04. Classes-and-Class-Constructors/VIDEOS.md)
2828

2929
### [05. Class Methods and Properties](/Topics/05. Class-Methods-and-Properties)
3030

31-
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-UI-and-DOM/master/Topics/05. Class-Methods-and-Properties/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/05. Class-Methods-and-Properties/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/05. Class-Methods-and-Properties/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/05. Class-Methods-and-Properties/VIDEOS.md)
31+
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-OOP/master/Topics/05. Class-Methods-and-Properties/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/05. Class-Methods-and-Properties/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/05. Class-Methods-and-Properties/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/05. Class-Methods-and-Properties/VIDEOS.md)
3232

3333
### [06. Class Inheritance](/Topics/06. Class-Inheritance)
3434

35-
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-UI-and-DOM/master/Topics/06. Class-Inheritance/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/06. Class-Inheritance/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/06. Class-Inheritance/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/06. Class-Inheritance/VIDEOS.md)
35+
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-OOP/master/Topics/06. Class-Inheritance/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/06. Class-Inheritance/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/06. Class-Inheritance/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/06. Class-Inheritance/VIDEOS.md)
3636

37-
### [07. ES6 Features](/Topics/07. ES6-Features)
37+
### [07. Mixins](/Topics/07. Mixins)
3838

39-
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-UI-and-DOM/master/Topics/07. ES6-Features/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/07. ES6-Features/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/07. ES6-Features/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/07. ES6-Features/VIDEOS.md)
39+
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-OOP/master/Topics/07. Mixins/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/07. Mixins/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/07. Mixins/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/07. Mixins/VIDEOS.md)
4040

41-
### [08. Modules and Patterns](/Topics/08. Modules-and-Patterns)
41+
### [08. ES6 Features](/Topics/08. ES6-Features)
4242

43-
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-UI-and-DOM/master/Topics/08. Modules-and-Patterns/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/08. Modules-and-Patterns/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/08. Modules-and-Patterns/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/08. Modules-and-Patterns/VIDEOS.md)
43+
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-OOP/master/Topics/08. ES6-Features/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/08. ES6-Features/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/08. ES6-Features/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/08. ES6-Features/VIDEOS.md)
44+
45+
### [09. Modules and Patterns](/Topics/09. Modules-and-Patterns)
46+
47+
##### [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/presentation.png" height="18"/> Slides](https://rawgit.com/TelerikAcademy/JavaScript-OOP/master/Topics/09. Modules-and-Patterns/index.html) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/code.png" height="15"> Demos](/Topics/09. Modules-and-Patterns/demos) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/homework.png" height="15"> Tasks](/Topics/09. Modules-and-Patterns/homework) / [<img src="https://raw.githubusercontent.com/TelerikAcademy/Common/master/icons/video.png" height="15"> Videos](/Topics/09. Modules-and-Patterns/VIDEOS.md)
4448

4549

4650
<!--

‎Topics/03. Closures-and-Scope/README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function arrJoin(arr, separator) {
105105
if(true) {
106106
var result = 5;
107107
}
108-
console.log(result); //logs 5
108+
console.log(result); // logs 5
109109
```
110110

111111
```js
@@ -114,7 +114,7 @@ if(true) {
114114
var result = 5;
115115
})();
116116
}
117-
console.log(result); //ReferenceError
117+
console.log(result); // ReferenceError
118118
```
119119

120120
```js
@@ -124,7 +124,7 @@ function logResult (){
124124
if(true) {
125125
logResult();
126126
}
127-
console.log(result); //ReferenceError
127+
console.log(result); // ReferenceError
128128
```
129129

130130

@@ -198,22 +198,22 @@ function outer(x) {
198198

199199
```js
200200
var f1 = outer(5);
201-
console.log(f1(7)); //outputs 5 7
201+
console.log(f1(7)); // outputs 5 7
202202
```
203203

204204
<div class="fragment balloon" style="top:57.01%; left:54.22%; width:21%">In the context of f1, **x has value 5**</div>
205205

206206

207207
```js
208208
var f2 = outer("Peter");
209-
console.log(f2("Petrov")); //outputs Peter Petrov
209+
console.log(f2("Petrov")); // outputs Peter Petrov
210210
```
211211
<div class="fragment balloon" style="top:72%; left:63.83%; width:21%">In the context of f2, **x has value "Peter"**</div>
212212

213213

214214
<!-- attr: { showInPresentation:true, hasScriptWrapper:true, style:'font-size:0.8em' } -->
215215
# Closures Usage
216-
- Closures can be used for **data hiding**(**encapsulation**)
216+
- Closures can be used for **data hiding** (**encapsulation**)
217217
- Make objects invisible to the outside world
218218
- Make them private
219219

@@ -253,4 +253,4 @@ var school = (function() {
253253
- Telerik Academy @ Facebook
254254
- [facebook.com/TelerikAcademy](facebook.com/TelerikAcademy)
255255
- Telerik Software Academy Forums
256-
- [forums.academy.telerik.com](http://telerikacademy.com/Forum/Home
256+
- [forums.academy.telerik.com](http://telerikacademy.com/Forum/Home

‎Topics/03. Closures-and-Scope/homework/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
- **List all categories**
1717
- Return an array of categories
1818
- Categories are sorted by ID
19-
- **Each book/catagory has a unique identifier (ID) that is a number greater than 1**
19+
- **Each book/category has a unique identifier (ID) that is a number greater than 1**
2020
- When adding a book/category, the ID is generated automatically
2121
- **Add validation everywhere, where possible**
2222
- Book title and category name must be between 2 and 100 characters, including letters, digits and special characters ('!', ',', '.', etc)
2323
- Author is any non-empty string
2424
- Unique params are Book title and Book ISBN
2525
- Book ISBN is an unique code that contains either 10 or 13 digits
2626
- If something is not valid - throw Error
27-
- **You are given a solution template in the [task/task-1.js](./task/task-1.js) file**
27+
- **You are given a solution template in the [tasks/task-1.js](./tasks/task-1.js) file**

0 commit comments

Comments
 (0)