Skip to content

Instantly share code, notes, and snippets.

View jnewman12's full-sized avatar
🎯
Focusing

James Newman jnewman12

🎯
Focusing
  • Santa Monica, CA
View GitHub Profile
@jnewman12
jnewman12 / debugging_js.md
Last active May 26, 2017 18:32
WDI SM Debugging JS

JS Debugging

Objectives

After this lesson, students will be able to:

  • Identify and resolve common and uncommon "logical errors" that affect the results of your program
  • Use logs to troubleshoot errors in an application (console log in Dev Tools)
  • Conduct real-time debugging in the browser (start small, triangulation, remove code)
  • Access properties of a class using helper methods ( typeOf( ) for datatypes)
  • Use debuggers and breakpoints to identify logical errors in expressions
@jnewman12
jnewman12 / js_dom_manipulation.md
Created May 25, 2017 18:25
WDI SM DOM manipulation and events

DOM Manipulation & Events

SWBAT

  • Understand the role of events
  • Recognize and respond to common types of events
  • Describe how to pass an anonymous function to an event listener
  • Describe how to pass a named function to an event listener

What are events?

@jnewman12
jnewman12 / DOM_intro.md
Last active May 25, 2017 21:02
WDI SM Intro to the DOM

Intro to the DOM

Students will be able to...

  • Explain what the DOM is
  • Use JavaScript to select parts of the DOM
  • Use JavaScript to change parts of the DOM

What is the DOM?

@jnewman12
jnewman12 / js_functions_lab.md
Created May 24, 2017 16:57
WDI SM JS functions intro lab

JavaScript Functions Lab

Introduction

This lab provides an opportunity to practice defining and coding some real-world functions.

Note: Feel free to work in pairs or groups to complete this lab. Also, Google/StackOverflow is a good friend to have around...

@jnewman12
jnewman12 / js_functions.md
Last active May 24, 2017 20:05
WDI SM functions intro lab

Functions and Javascript Scope


Students will be able to...

  • Confidently write functions, then invoke them
  • Explain what scope is
  • Create a new local scope
  • Explain hoisting in terms of load order
@jnewman12
jnewman12 / TDD.md
Last active March 2, 2017 18:06
Test Driven Development

Intro to Test Driven Development

TDD


Objectives

  • Understand the use case for testing your apps
  • Understand how to write tests
@jnewman12
jnewman12 / IonicApp.md
Created February 23, 2017 08:51
Ionic Assignment

Ionic App Challenge Part 2

hacker news


Our Challenge

  • In this past module, we have seen how to use angular, and now, we have seen how to use what is essentially a mobile-only library for angular
  • We are going to combine this into what we did last week, which is to build a mobile news reader
@jnewman12
jnewman12 / IonicIntro.md
Last active February 23, 2017 08:22
All Day Ionic

Intro to Ionic

ionic


Objectives

  • Understand the use case for Ionic
  • Identify the tech stack involved in creating ionic apps
@jnewman12
jnewman12 / FridayNgApp.md
Created February 17, 2017 10:03
All day Angular App

Angular App Challenge

hacker news


Our Challenge

  • This week we have dove head first into angular and learned all about some of the core components of angular.
  • data binding
@jnewman12
jnewman12 / RoutingLab.md
Last active February 16, 2017 04:09
Routing Lab

Front-end Routing with UI-Router

Introduction

  • To practice working with UI-Router, you're going to make a single-page app with multiple views.
  • just like in our UI-Router lesson, don't forget you'll need to run your front-end through a server so http-server or server will be your friend.
  • This lab builds upon our services lesson (and lab) from yesterday,
  • The exercise is to make a simple crud app (index, new/create, show, delete) with an external API
  • API Endpoint: https://agile-chamber-77499.herokuapp.com/artists