Lesson 2
Content:
Homework
The repo that you have forked during the last class contains few challenges - solve them all in JavaScript. You should know all the needed information by now.
Complete the Khan Academy course if you haven't already. It will go through some of the basics that we covered in the class and beyond.
Complete the Codecademy Learn JavaScript Path if you haven't already.
Research:
Read these chapters from JS: The Good parts:
- Chapter 9: Style - it's a short chapter, everyone start by reading that chapter.
- ALL: Read the chapter about Objects (up to Reference)
- Read the chapter about Arrays
- Read the chapter about Functions up to the section about Return
Alternatively you can watch week4 of HTML, CSS, and Javascript for Web Developers tutorial. Highly recommended.
Read this page on Classes, a new feature in JavaScript introduced in ES6.
When reading always try the code snippets by yourself in Node. (change document.writeln to console.log)
Read this article on Pair Programming
Read this page on Classes, a new feature in JavaScript introduced in ES6.
(Optional) Create an account on Free Code Camp and begin working through the exercises.
Next class - we want you to do a presentation (including showing some code sample) for one of these concepts:
- Switch Statements and Ternary Operators
- Math methods in JavaScript
- While loops (compare them to for Loops)
- Array.slice and Array.splice
- Array.map and Array.forEach
- Array.find and Array.filter
- Object classes.
- ES6.
- String.replace, String.search and other String methods
- Object.keys (How to loop the properties of an object)
- Function arguments
- [Advanced] Different ways of Creating objects
- [Advanced] Inheritance
- [Advanced] Regular Expressions