The Essential Guide to HTML5

(Greg DeLong) #1

Index


Symbols


< > angle brackets (pointy brackets), 270
< less than operator, 28
> greater than operator, 28
&& operator, 266
( ) parentheses, 11, 26, 270
* multiplication operator, 25

. period, indicating method invocation, 11, 26
/ slash. See slash
; semicolon, 11, 26
" " quotation marks. See quotation marks
[ ] square brackets, 75, 184, 270
_ underscore, 297
{} curly brackets, 154, 270, 324



  • addition operator, 25, 151

  • plus sign, 151
    ++ operator, 74, 324
    += operator, 268
    = equal sign assignment operator, 26, 28
    == equal signs comparison operator, 28


Numbers
2*Math.PI
angles and, 219
polygons and, 151
21 card game (sample). See blackjack card
game


A
a element, for hyperlinks, 5
absolute URL, 18
acceleration, 101
add_up_player function, for blackjack card
game sample, 331
addEventListener method
keystroke capture and, 220, 328
mazes sample and, 232
quiz sample and, 188
rock-paper-scissors game sample and, 265
slingshot sample and, 108, 128
addition operator (+), 25, 151
alert function, 28, 221
alignment, 8
allw array, 230
anchor, 5
angles, 32, 219
animated .gif files, 68
animation, 270
ballistics simulation and, 97
bouncing ball sample and. See bouncing ball
rock-paper-scissors game sample and,
270–272
types of, 68
appendChild method
Hangman game sample and, 296
quiz sample and, 187
Free download pdf