Press key to advance.

Zoom in/out: Ctrl or Command + +/-

Having issues seeing the presentation? Read the disclaimer

Intro

Class

Intro to Javascript

SVA

Tuesdays, 6:00 - 10:00 (don't worry, we'll take a break)

Eric Haseltine <- that's me

  • email: eric@choppingblock.com
school.choppingblock.com

Notes:

Intro

Chopping Block

World Domination Through Graphic Design

Since 1996

01 ChopMain

Intro

Chop Shop

With Shirts Like This, Who Needs Pants

Since 2004

Img 742x340

Intro

What is Javascript?

The informal definition

Sweet

Javascript is the scripting language used by modern web browsers

Intro

What is Javascript?

The formal, jargon-laced definition

Gulp

JavaScript is an weakly typed, interpreted programming language with object-oriented capabilities

OR

Javascript is prototype-based object-oriented scripting language that is dynamic, weakly typed and has first-class functions.

Intro

Programming

Sweet

Simply — Writing instructions for some process that your computer can follow

2 parts to this:

  • Constructing your algorithm
  • Knowing the syntax of the programming language

Tools

Browsers

So many...

  • Safari: Great to develop in
  • Firefox: Great to develop in
  • Chrome: Great to develop in
  • Internet Explorer: Step away slowly...

Tools

Editors

text

Windows
  • Notepad: It works!
  • SciTe: Works, what we use, free
  • Dreamweaver
  • Also heavier weight packages like Eclipse or Visual Studio
Mac
  • TextEdit: Comes standard, it works!
  • TextMate: My favorite
  • Coda by Panic
  • XCode, Eclipse and others

Challenges

Try these out now

Time to Code!

  • Make (define) an array, turn that array into a string and write it to the browser
  • Make (define) a string, and replace all of the vowels in it with an underscore (_) and write it to the browser
  • Collect 5 names using a prompt window and output them to the screen
  • Collect an indeterminate amount of names using a prompt window and output them to the screen. Stop accepting names when a user enters "stop"
  • Write a function to calculate the fibonacci sequence