dev1 – JS Arrays

Tutorials Section 11, videos 103 – 113 11 JS – Arrays tutorial notes Exercise files to publish on your server as HTML/JS pairs: todo-list-part1.html / todo-list-part1.js challenge.html / challenge.js todo-list-part2.html / todo-list-part2.js array-prob-set.html / array-prob-set.js foreach.html / foreach.js Blog Questions With the array methods pop() / push() and shift() / unshift(), explain the difference between the returned value of each method and […]

dev1 – 10 JS functions problem set

There are two pairs of HTML/JS files to be completed and submitted: Random Color – Create a function randomColor() when called returns a random RGB color value like rgb(173, 65, 203). Game – Create three functions startGame(), endGame(), and checkGame(). Each function returns the boolean value of gameOver and should affect gameOver as the function name suggests. Falling Down Stairs – Create a function fallingDownStairs(phrase) which takes […]

dev2 – Adv Array Methods

Tutorials ADV 10 Advanced Array Methods – videos 103-116 You will be using a number of exercise files with the problems described in the code. Please download the files and complete them. They should then be linked to a single HTML file and uploaded to your server: adv-arr.html filter-exercise.js foreach-exercise.js map-exercise.js reduce-exercise.js some-every-exercise.js Blogging Questions […]

dev1 – JS Basics, Functions

Tutorials Section 10, videos 093 – 102 10 JS Basics – Functions tutorial notes Exercise files to publish on your server as HTML/JS pairs: functions-examples.html / functions-examples.js functions-problem-set.html / functions-problem-set.js includes isEven(num), factorial(num), and kebabToSnake(str). scope-example.html / scope-example.js Blog Questions Describe the difference between declaring a function and calling a function. Give an example in a code […]

dev2 – JS Review Sections 12 – 15

Tutorials Tutorial Notes Section 12, videos 114 – 120 Section 13, videos 121 – 129 Section 14, videos 130 – 135 Section 15, videos 136 – 144 Exercises to be completed and published as HTML/JS pairs movie-db.html / movie-db.js selector-exercise.html / selector-exercise.js score-keeper.html / score-keeper.js Blogging Questions Why are arrays of objects such commonly used […]

dev1 – JS Basics, Control Flow

Tutorials Section 09, videos 079 – 092 09 JS Basics – Control Flow tutorial notes Exercise files to publish on your server as HTML/JS pairs: bouncer.html / bouncer.js age-exercise.html / age-exercise.js number-guess.html / number-guess.js while-loops.html / while-loops.js annoy-o-matic.html / annoy-o-matic.js for-loops.html / for-loops.js Blog Questions Use the code insert tool and provide examples to answer […]