Navigation Menu

Skip to content

CPLN690-MUSA610/week-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Week 3

As always: make a copy of this repository to commit changes to

Class Outline

Week 2 Review & Introduction

  • Homework/lab discussion
  • JSHint installation
  • Opening Atom from GitHub Desktop

Functions continued

Section 1: Using functions
  • Writing functions
    • Naming functions
    • Providing arguments
    • The function body
    • The return statement
    • Function values
  • Thinking functionally
    • Everything in a program is data
    • Functions are data transformations
  • Lab 1

Live coding: refactoring code into functions

  • Step through the code and discuss
  • Imagine alternative code flows
  • Organize the code
  • Make code DRYer ('don't repeat yourself')
    • Redundant code is a headache waiting to happen

underscore.js

Section 2: Library overview
  • Selecting elements
  • Array utilities
  • each: No more for loops!*
  • Lab 2

*Mostly!

HTML & CSS Introduction

HTML & CSS
  • Review our uses thus Far
  • What HTML does
  • What CSS does
Developer tools (other than console)
  • Elements
  • Sources

Homework Assignment (Due: Sunday, February 7)

About

functions, underscore, html/css intro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published