title: oct 1312:20 pm (1 of 27)cisweb.bristolcc.edu/~pgrocer/audio_smartboardf16/... · includes...
TRANSCRIPT
Title: Oct 1312:20 PM (1 of 27)
We will start looking at these JavaScript examples.
Title: Oct 1312:35 PM (2 of 27)
Title: Oct 1312:35 PM (3 of 27)
This will show the code that generated the page.
Title: Oct 1312:36 PM (4 of 27)
Title: Oct 1312:43 PM (5 of 27)
Title: Oct 1312:43 PM (6 of 27)
Title: Oct 1312:44 PM (7 of 27)
Title: Oct 1312:44 PM (8 of 27)
The program will multiple the 5 and 6 and get an answer of 30that is put out on the line using document.write( );
Title: Oct 1312:44 PM (9 of 27)
I put in 5 and 6.
Title: Oct 1312:50 PM (10 of 27)
Logic is layed outand then translatedinto code.
Title: Oct 1312:50 PM (11 of 27)
Someone asked me to do it with decimals.
Title: Oct 1312:52 PM (12 of 27)
Title: Oct 1312:54 PM (13 of 27)
You write the code in notepador another text editor and save it with a .html extension.You can then open it in abrowser.
Title: Oct 1312:55 PM (14 of 27)
Title: Oct 1312:56 PM (15 of 27)
Title: Oct 1312:57 PM (16 of 27)
Title: Oct 131:18 PM (17 of 27)
Other ways to convert to numbers so add will happen.
Title: Oct 131:20 PM (18 of 27)
Title: Oct 131:20 PM (19 of 27)
Title: Oct 131:21 PM (20 of 27)
Title: Oct 131:21 PM (21 of 27)
Title: Oct 131:22 PM (22 of 27)
Title: Oct 131:22 PM (23 of 27)
Title: Oct 131:29 PM (24 of 27)
Title: Oct 131:30 PM (25 of 27)
Title: Oct 131:32 PM (26 of 27)
Title: Oct 131:38 PM (27 of 27)