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 / BoxModel.md
Last active April 11, 2017 23:15
Box Model lesson for GA WDI OC

Positioning the Web with the Box Model

Objectives

  • Explain how marigin, border, padding, and content relate to one another in the box model
  • Describe the difference between block, inline, and inline-block elements
  • Create a page with multicolumn layout
  • Explain the difference between and use cases of static, relative, absolute, and fixed positioning

Plan

  • Instructor Lead: I Do – 10 minutes
@jnewman12
jnewman12 / Puplove.md
Last active April 11, 2017 23:14
A lab on Box Model Styling

Uncle Derry's Dog Needs a Date

Derry

HTML/CSS Lab

Well, lemme tell you, my terribly sad Uncle Derry has been projecting onto his dog again, and is determined he needs to help his pup, Bobo, find someone special.

Living alone near a pond more sewage than water leads you to do some crazy things, but it also affords you a lot of thinking time. Good ol' Uncle Derry has been trying to build website with those lonely hours.

@jnewman12
jnewman12 / DebuggingInChrome.md
Created December 1, 2016 05:53
Reference to Intro to Chrome DevTools/Debugger

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 / JSObjects_r.md
Created December 2, 2016 06:40
JS objects reference

JavaScript Objects

Objectives

After this lesson, students will be able to:

  • Compare objects and key-value stores to arrays as data structures
  • Explain the difference between object properties and methods
  • Create empty objects and objects with multiple properties and methods using object literal syntax
  • Compare adding and retrieving properties to an existing object using the dot and bracket notations
  • Access properties of an object using keys and helper methods (.hasOwnProperty)
@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 / NGRouting.md
Last active February 16, 2017 04:19
Routing Lecture

Front-end Routing with UI-Router

angular routing


Objectives

  • Understand the value of client side routing
  • Build a SPA with multiple pages
  • Describe when to consider server-side routing and when to consider front-end routing
@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