dev2 – Closures and keyword ‘this’

Tutorials ADV Section 11, videos 117 – 131 Exercises files to publish on your server as HTML / JS pairs closure-code-a-long.html / closure.js closure-exercise.html / closure-exercise.js (instructions) this-code-a-long.html / this.js this-exercise.html / this-exercise.js (instructions) Blogging Questions Declaring a new object creates a new instance of this. Describe how you can access this within an object. […]

dev1 – DOM Manipulation

Tutorials Section 13, videos 121 – 129 13 DOM Manipulation tutorial notes Exercise files to publish on your server as HTML / JS pairs selectors.html / selectors.js exercise.html / exercise.js demo.html / demo.js Blogging Questions Describe how the querySelector() and querySelectorAll() methods work. What is the difference between the values returned for each method? Use an example code snippet […]

dev1 – JS Objects problem set

Create a single HTML / JS pair students.html / students.js which you can download from here (or copy/paste the code from the snippet below). It includes descriptions of the problems and the array of objects needed to write the following functions: CT course count for loop – Create a function ctCourseCount(studArr) that takes the supplied array of objects […]

dev2 – AJAX – XHR and fetch

Tutorials Section 07, videos 072 – 083 Exercise files to publish on your server as HTML/JS pairs: github-zen.html / github-zen.js (added challenge post the quote to the page as well as the console) random-dog.html / random-dog.js bitcoin.html / bitcoin.js random-user.html / random-user.js Blog Questions Describe your understanding of what an API request is. What is […]

dev1 – JS Objects

Tutorials Section 12, videos 114 – 120 12 JS – Objects tutorial notes Exercise files to publish on your server as HTML/JS pairs: object-examples.html / object-examples.js movie-db-exercise.html / movie-db-exercise.js Blog Questions Link to an example dynamic webpage that likely pulls data from a database to build the site – any social media site, newspaper, blog, […]

dev1 – JS Arrays problem set

Create single HTML / JS pair arr-prob.html / arr-prob.js which includes the following functions: Reverse Array – Create a function reverseArray(arr) which takes an array as an argument. The function returns a new array with the values reversed. For example: reverseArray([1,2,3]) returns [3,2,1]. Range Array – Create a function rangeArray(start, end) which takes two numbers as arguments. The function returns an array containing all […]

webDev2 – Async Foundations

Tutorials ADV 06 Async Foundations, videos 059 – 071 Please write code for the code-alongs as well as complete the two exercises. Link the JS files to a single HTML file. async-found.html callback-basics.js foreach.js findindex-intro.js findindex-exercise.js (download) stack-heap.js settimeout.js countdown-exercise.js (download) promises.js Blogging Questions Describe the difference between how using an anonymous function vs. a […]

css.php