Skip to content
Anthony Meirlaen edited this page Nov 2, 2019 · 9 revisions

In class you'll get a first taste of JS, but the main objectives will be understanding why JavaScript is important and learning how to start the homeworks.

Agenda:


Review Time

  • Be ready with your questions from last weeks' homework!
  • Go over frequently asked questions
  • Recap on topics

TOP


Git(hub) Practice

TOP


User interface

  • selecting elements
  • attaching listeners

TOP


Reading Documentation

Welcome to array methods!

Reading documentation:

Documentation is actually a lot like the test cases you have seen so far in your exercises, the main three things to pay attention for are:

  1. Arguments: what values do you pass into the function/method?
  2. Return Value: what will the function/method return?
  3. Behavior: what does the function do, how is the return value related to the arguments?

Split into small groups and take a look at these:

Exercise

  • solve objects.js

Look at the week's Project Tables

TOP


Homework Launch

Linters and style guides: Does everyone have one installed?

Week 2 Project

  • solve isPrimitive together
  • solve hasKey: talk about why Object.hasOwnProperty is important

TOP

Clone this wiki locally