JavaScript 101

Agenda

  • Introductions
  • Write a program using `pseudocode`
  • A brief introduction to JavaScript
  • What is Google Apps Script (GAS)
  • Take Home Project - Birthday Checker

Who is this workshop for?

  • Beginners
  • Anyone that is learning the basics of JavaScript and you want to apply your skills.

Goals and Takeaways

  • Learn how to think programmatically
  • Gain an understanding of how programs operate
  • This workshop doesn't focus on teaching syntax and writing code on your own.  We will focus on fitting together all the pieces of a program.

About Me

Introductions

  • State your Name
  • What you currently do as a living (skipping this is fine as well)
  • And...an interesting fact about yourself!

Pseudocode

What is Pseudocode?

  • Pseudocode is an informal set of instructions that describes how a program operates in simple English!
  • It is used by many programmers in the early development stages of a new application.
  • Let's take a look at an example.

   

Pseudocode - Make Coffee

  • Write a program for “Rusty”, our personal life-sized robot.  The program is called “make coffee”. When you tell Rusty to “make coffee” Rusty will make a fresh pot of hot coffee!

   

Pseudocode for "Make Coffee" Program

  1. Locate the coffee maker in the kitchen.
  2. Fill the coffee pot with water using the nearby sink.
  3. Pour the water from the coffee pot into the coffee maker.
  4. Locate the coffee filter in the kitchen.
  5. Place the coffee filter in the coffee maker.
  6. Find the coffee grinds in the nearby blue container.
  7. Measure the coffee grinds to make a full pot of coffee.
  8. Place the coffee grinds into the coffee maker.
  9. Place the coffee pot in the proper position in the coffee maker
  10. Click the “brew coffee” button.

deck

By Scott D'Alessandro