Lets Get Technical - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Lets Get Technical

Description:

Line breaks. Semicolons. We've got rules you know script type='text/javascript' statement ... A little boring, yeah. Attention to details. Next time: more of ... – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 11
Provided by: MCP392
Category:

less

Transcript and Presenter's Notes

Title: Lets Get Technical


1
Lets Get Technical
Session 02
2
Lets Get Technical
Tonights agenda
  • How (and where) to include
  • Syntax
  • Comments
  • Variables
  • Data types
  • Arrays
  • Operators
  • Maybe? conditionals, looping

3
Getting Technical
The pros and cons of tonight
Going to learn a lot
Not going to apply directly
4
Including JavaScript
Weve gotta get it in somehow
  • Inline (yeah, no)
  • In the head
  • Anywhere
  • At the end

ltscript typetext/javascriptgt alert(Hello
World) lt/scriptgt
5
Syntax
Weve got rules you know
  • Line breaks
  • Semicolons

ltscript typetext/javascriptgt statement
another statement statement another
statement another lt/scriptgt
6
Comments
When used right
  • Just enough
  • Written for others

ltscript typetext/javascriptgt // single line
comment / multiple lines of
comments / lt/scriptgt
7
Variables
Cha, cha, cha, changes
  • Declare it
  • Naming conventions
  • Data types

ltscript typetext/javascriptgt var my_mood
happy my_mood aight lt/scriptgt
8
Data Types
Come in all varieties
  • Typing (weakly, strongly)
  • Strings
  • Numbers
  • Booleans
  • Arrays (associative arrays)

9
Operators
Putting two and two together
  • Math with numbers
  • Concatenation
  • Shortcuts

10
Wrap Up
Off to a good start
  • This is programming!
  • A little boring, yeah
  • Attention to details
  • Next time more of the same
Write a Comment
User Comments (0)
About PowerShow.com