Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 46bb596

Browse files
committed
updated reading material and homework
1 parent a61c094 commit 46bb596

File tree

8 files changed

+87
-96
lines changed

8 files changed

+87
-96
lines changed

README.md

Lines changed: 33 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,50 @@
1-
# JavaScript
2-
Brainstorm JavaScript module
31

4-
Here is an overview of the brainstorm sessions for the JavaScript modules.
5-
Feel free to make suggestions or add anything.
6-
If everyone can help out with elaborating on the different subjects that would be great!
7-
What you see below is a rough layout for the first three Javascript modules. Feel free to deviate from this layout but try to cover all of the subject matters listed.
82

3+
# Hack Your JavaScript
4+
This is the description of the classes for JavaScript fundamentals.
95

10-
# What
11-
12-
## Module 1 (3 weeks)
13-
* what is a CLI
14-
* Basic Git commands by CLI
15-
* publish your websites on Git (UI)
16-
* branch and push, clone
17-
* Intro Javascript (What is it, where can you use it for)
18-
* Querying the DOM
19-
* Basic datatypes (array, string, number, bool)
20-
* Loops, if statements
21-
* Browser debugging & ClI debugging
6+
## Composition (Module goals)
227

8+
|Week|Topic|Read|Homework|
9+
|----|-----|----|--------|
10+
|0.|preparation for first JavaScript session|https://github.com/HackYourFuture/JavaScript/tree/master/Week0|https://github.com/HackYourFuture/JavaScript/tree/master/Week0|
11+
|1.|Values, Operators and Variables. Primitives Types ( Strings, Numbers, Arrays, Functions, Objects literals) Conditions|https://github.com/HackYourFuture/JavaScript/tree/master/Week1|https://github.com/HackYourFuture/JavaScript/tree/master/Week1|
12+
|2.|Functions, For and While Loops,String and Array Manipulations |https://github.com/HackYourFuture/JavaScript/tree/master/Week2|https://github.com/HackYourFuture/JavaScript/tree/master/Week2|
13+
|3.|String and Array Manipulations, Closures, Scope and Immediately Invoked function expression, Call Backs and Promises|https://github.com/HackYourFuture/JavaScript/tree/master/Week3|https://github.com/HackYourFuture/JavaScript/tree/master/Week3|
14+
|4.|Async VS Sync, XHTTP Requests|TBA|TBA|
15+
|5.|Objects and Instances|TBA|TBA|
16+
|6.|TBA|TBA|TBA|
17+
|7.|Test Driven Development|TBA|TBA|
18+
|8.|Test Driven Development|TBA|TBA|
19+
|9.|Test Driven Development|TBA|TBA|
2320

24-
## Module 2 (3 weeks)
25-
* Code conventions
26-
* Function declaration and excecution (code flow)
27-
* Scope
28-
* Github documentation (readme, description, open sourcery)
29-
* Git tracking, terminology
30-
* Advanced datatypes(objects)
31-
* Code flow
32-
* JavaScript functions, callbacks (events)
33-
* Writing a multi function program (or game :)
3421

35-
## Module 3 (3 weeks)
36-
* HTTP requests
37-
* APIs!
38-
* JSON
39-
* Polling external data dynamically
40-
* (Unit testing)
22+
# References
23+
_We demand our student to be prepared (or at least to briefly read) the content of the class._
4124

42-
## Optional:
43-
* Code patterns
44-
* Observer patterns
45-
* Watcher patterns
25+
I'm concerned that a lot of students would like to have video resources, although my preference goes trough books.
26+
If you would like to recommend resource that I should add, please pm me.
4627

28+
---
29+
## Lesson 1 ( 19/02/2017 )
4730

48-
# How
31+
- Introduction ~ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Introduction
32+
- Introduction with scaffolding ~ http://jsforcats.com/
33+
- Values ~ http://eloquentjavascript.net/01_values.html
4934

50-
* Try to find an example you can expand on. For instance coding a website that lists the students in the class along with their Github Repos. This way you can show anything from DOM querying to objects (for each student) and even load up the Github API
51-
* Live coding in class to show how certain features work.
52-
* Ask students to present their work, let them know failing while coding isn't just accepted it's encouraged. Fail often and fail early.
53-
* Homework is listed on Trello and handed in on Github
54-
* There's no strict lesson plan, adapt to students' need and level. Try to make up more advanced challenges for quick learners.
55-
* Test after every module, if students fail they can't move on to the rest of the program. It is possible to redo a module (one time).
35+
## Lesson 2 ( 26/02/2017 )
5636

37+
- Functions ~ http://eloquentjavascript.net/03_functions.html
38+
- Program structure ~ http://eloquentjavascript.net/02_program_structure.html
5739

58-
## Extra extra
59-
* Slackbot
60-
* Work in one environment
40+
## Lesson 3
6141

42+
## Lesson 4
6243

63-
## After
64-
* Feedback from students and teachers on the modules
44+
## Lesson 5
6545

46+
## Lesson 6
6647

6748

49+
Module goals:
50+

Week0/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#Reading material for your first JavaScript lesson:
2+
3+
## Lesson 1
4+
5+
- Introduction ~ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Introduction
6+
- Introduction with scalfolding ~ http://jsforcats.com/
7+
- Values ~ http://eloquentjavascript.net/01_values.html
8+
9+
_Please go through the material and come to class prepared!_
10+
11+
Helpful resource: http://jsbooks.revolunet.com/

Week1/MAKEME.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
##Assignments week 2:
2+
3+
Finish these [Basic JavaScript](https://www.freecodecamp.com/challenges/learn-how-free-code-camp-works) exercises in FreeCodeCamp:
4+
from _Comment your JavaScript_ to the _Golf code_ exercise

Week1/README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
# Lecture one
1+
#Reading material for the second lecture:
22

3-
# Covered in class:
3+
- Functions ~ http://eloquentjavascript.net/03_functions.html
4+
- Program structure ~ http://eloquentjavascript.net/02_program_structure.html
45

5-
## Git introduction
6-
* publish your websites on Git (UI)
7-
* branch and push, clone
8-
9-
## Homework
10-
* Create a .js file that prints something to the console and add it to your github pages repository.
11-
* Recreate your CV (from the HTML/CSS module) on pages.github.io using this tutorial https://pages.github.com/ and share your link on Trello
12-
* Complete the first couple assignments on Codecademy (up until Math operators I)
13-
* Use document.querySelector to select an element in your github pages website and change the innerHTML.
6+
_Please go through the material and come to class prepared!_

Week2/MAKEME.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
##Assignment week 2
2+
3+
Finish these [Basic JavaScript](https://www.freecodecamp.com/challenges/learn-how-free-code-camp-works) exercises in FreeCodeCamp:
4+
from _Iterate with JavaScript For Loops_ to the _Invert Regular Expression Matches with JavaScript_ exercise

Week2/README.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,3 @@
1-
# Lecture two
1+
#Reading material for the third lecture:
22

3-
# Covered in class:
4-
5-
## Homework:
6-
* Update your CV:
7-
1. Remove sensitive personal information. You can link to your LinkedIn account for instance if you want people to be able to reach you
8-
2. Look at the feedback from the last module (HTML/CSS) change your CV to reflect this feedback.
9-
3. Validate your html using the W3c Vaidator https://validator.w3.org/
10-
* Complete the following codecamp assignments:
11-
* Start at https://www.freecodecamp.com/challenges/write-reusable-javascript-with-functions
12-
* And make the next couple assignments until your reach: Assignment with a Returned Value
13-
* Add a useful function to your website:<br>
14-
Write a js feature that follows the following rules
15-
1. It takes user input on a website (look up input fields)
16-
2. It uses that input as parameters for a function
17-
3. The function does something with the parameters and returns a value using 'return'
18-
4. The return value is used on the website.
19-
* For instance: Create a function that allows people to input a certain product they eat or drink every day and then asks how long they expect to live (for instance someone smokes one pack of cigarettes a day and expects to live 25 more years) then they might spend 1 X priceOfPack x 365 x lifeExpectancy euros on that product
20-
* Be creative. If your idea is too complex to finish, don't worry, this exercise is really about trying to write some code yourself and applying what you've learnt.
21-
* Try to solve Unmesh' challenge:
22-
Assignment for “for loops” :
23-
* Print ’n’ lines of a Pascal’s triangle.
24-
* Hand in your homework in Trello
3+
TBA

Week3/MAKEME.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#Homework Week 3
2+
3+
##Read:
4+
- https://en.wikipedia.org/wiki/Object-oriented_programming
5+
- https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/this
6+
- https://developer.mozilla.org/en-US/docs/Glossary/Scope
7+
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions
8+
9+
10+
##Challenges:
11+
- https://www.freecodecamp.com/challenges/declare-javascript-objects-as-variables
12+
- https://www.freecodecamp.com/challenges/make-instances-of-objects-with-a-constructor-function
13+
- https://www.freecodecamp.com/challenges/make-unique-objects-by-passing-parameters-to-our-constructor
14+
- https://www.freecodecamp.com/challenges/make-object-properties-private
15+
16+
And just for fun ... https://www.freecodecamp.com/challenges/sum-all-numbers-in-a-range
17+
18+
##Further reading:
19+
Function call() - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call
20+
Function apply() - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply
21+
Function bind() - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind
22+
Arguments - https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Functions/arguments
23+
24+
25+
Loops practice - https://www.freecodecamp.com/challenges/iterate-with-javascript-for-loops
26+
https://www.freecodecamp.com/challenges/iterate-with-javascript-while-loops
27+
https://developer.mozilla.org/en/docs/Web/JavaScript/Closures

Week3/README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
# Lecture three
21

3-
# Covered in class:
2+
#Reading material for the fourth lecture
43

5-
## Homework:
6-
Create a game!
7-
* The game uses JSON as input
8-
* The game should have user interaction
9-
* Have at least 3 different functions
10-
* Have at least one callback function
11-
* Use objects (this can also be a source of inspiration for what kind of game to make)
12-
* The game has to run on an HTML page (live on Github)
13-
* All the code needs to be commented
14-
* The github page should have a readme describing how the game/code works and a whishlist of features to be added in the future
4+
TBA

0 commit comments

Comments
 (0)