Skip to content

Instantly share code, notes, and snippets.

View jeremiahjstanley's full-sized avatar

Jeremiah Stanley jeremiahjstanley

View GitHub Profile

A Series of Unfortunate Events?

Events in JavaScript are the backbone of interactivity in the browser. In August 6, 1991, Sir Tim Berners-Lee released the very first website to the world! The World Wide Web was born, but there was no JavaScript, and no one really knew what the internet was anyway. In January 1993, the first commercial web browser, Mosaic, was released. We still didn't have JavaScript, but we had the unstandardized version of the DOM (Document Object Model). In 1995, the very first version of JS was born and was famously written in ten days.

Today we can leverage JavaScript to write web applications, and we can use browser events to make our web applications interactive.

Lesson Goals

  1. Understanding events in JavaScript
  2. Setting up Event Handlers

Conditionals

Conditionals let us determine when we do what - it's the way you can tell JavaScript: "if this then that"

Using conditionals allows us to protect code from executing until the proper conditions are met.

Think of conditionals as a way of putting a wall around a castle. The castle has a gate, and you have the power to open that gate for the right people.

Let's look at an example:

Conditionals

Conditionals let us determine when we do what - it's the way you can tell JavaScript: "if this then that"

Using conditionals allows us to protect code from executing until the proper conditions are met.

Think of conditionals as a way of putting a wall around a castle. The castle has a gate, and you have the power to open that gate for the right people.

Let's look at an example:

Conditionals

Conditional let us determine when we do what

Using conditionals allows us to protect code from executing until the proper conditions are met.

Think of conditionals a way of putting a wall around a walled city. Your city has a gate, but you hold the power to open that gate from the right people.

Let's look at an example:

Conditionals

Conditional let us determine when we do what

Using conditionals allows us to protect code from executing until the proper conditions are met.

Think of conditionals a way of putting a wall around a walled city. Your city has a gate, but you hold the power to open that gate from the right people.

Let's look at an example:

Conditionals

Conditional let us determine when we do what

Using conditionals allows us to protect code from executing until the proper conditions are met.

Think of conditionals a way of putting a wall around a walled city. Your city has a gate, but you hold the power to open that gate from the right people.

Let's look at an example:

Conditionals

Conditional let us determine when we do what

Using conditionals allows us to protect code from executing until the proper conditons are met.

Think of conditionals a way of putting a wall around a walled city. Your city has a gate, but you hold the power to open that gate from the right people

Let's look at an example:

Conditionals

Conditional let us determine when we do what

Using conditionals allows us to protect code from executing until the proper conditons are met.

Think of conditionals a way of putting a wall around a walled city. Your city has a gate, but you hold the power to open that gate from the right people

Let's look at an example:

Conditionals

Conditional let us determine when we do what

Using conditionals allows us to protect code from executing until the proper conditons are met.

Think of conditionals a way of putting a wall around a walled city. Your city has a gate, but you hold the power to open that gate from the right peopole

@jeremiahjstanley
jeremiahjstanley / jeremiah-stanley-30-day-checklist.md
Last active September 20, 2018 14:44
jeremiah-stanley-30-day-checklist

#1: 30-Day Action Plan Checklist

Establish shareable calendar and show to your instructor(s)
My Calendar

List your cut-off date for having a full-time position
My cutoff date for looking for a position full-time is November 20. After that, I will have to work part-time while I continue to look for a full-time engineering job. And! I'm drinking to kool-aid and doing all the things that Ellen Mary and Jeff are telling me to, so we're not going to get to that point, right? right?!

List monthly, weekly, and daily goals
My monthly goal is to review and have answers for all the jeopardy questions and list of introspective questions that Brittany sent to me. I plan on re-reading the front-end curriculum to tighten up my technical knowledge generally. I'd also like to focus on cleaning up my GitHub profile through updating READMEs and refactoring and styling projects. I'd also li