Skip to content

Instantly share code, notes, and snippets.

View rogerwschmidt's full-sized avatar

Roger Schmidt rogerwschmidt

View GitHub Profile

jQuery / Complete DOM Exercises

Objectives

Load jQuery on your HTML page.

Create a script tag that adds jQuery to an HTML page with the following src

https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js

Access and replace the content of HTML elements with jQuery.

Interactive Programming with jQuery

Objectives

Describe the parts of a jQuery event handler.

$('#buttonID').click(function(event){})

Create and invoke a click handler that is called on an element using jQuery.

<!DOCTYPE html>

Deploying Files

Today's exercise will teach you how to actually deploy your work to a hosting provider, so that you can show it to the world!

There are two providers we'll use, you can pick.

If you're comfortable with the command line, pick Surge. Otherwise, you can host files with Dropbox and Paperplane.

Carroll, Lewis:Through the Looking-Glass
Shakespeare, William:Hamlet
Bartlett, John:Familiar Quotations
Mill, John Stuart:On Nature
London, Jack:John Barleycorn
Bunyan, John:Pilgrim's Progress, The
Defoe, Daniel:Robinson Crusoe
Mill, John Stuart:System of Logic, A
Milton, John:Paradise Lost
Johnson, Samuel:Lives of the Poets

Command Line

Objectives

  • Explain what the Unix shell is.
  • Explain why the Unix shell is important.
  • Use the Unix shell to manipulate your laptop's operating system.

What is the Unix shell?

A Unix shell is a command line user interface between you and your computer's operating system.

Introduction to Javascript Instructor Notes

Objectives

  • Describe what JavaScript is.
  • Describe what ECMAScript is.
  • Explain why JavaScript is important.
  • Run JavaScript in the browser
  • Run JavaScript from your Terminal

Variables and DataTypes Instructor Notes

Objectives

  • Write comments to notate and organize your code
  • Name all primitive data types in JavaScript.
  • Explain what a variable is.
  • Explain the difference between a value and an expression
  • Explain the difference between =, ==, and === in JavaScript.
  • Explain what type conversion is.
  • Name all the "falsey" values in JavaScript.

Intro to Git Instructor notes

Objectives

  • Explain what a version control system is.
  • Explain why a version control system is important.
  • Explain what Git is.
  • Initialize a Git repository.
  • Add and commit changes to a Git repository.
  • Explain what GitHub is.
  • Push commits from a local repository to a remote repository.

Forking and Creating Pull Requests Instructor Notes

Objectives

  • Describe the process of forking
  • Create a fork of an existing repository
  • Describe why we issue pull requests
  • Create a pull request from a forked repository

What is the process of forking?

An Introduction to Functions with JavaScript Instructor Notes