HOME | Scripts | Schedule | ETUDES | COIN 70a | Class List | Sandi's Blog | CTIS | Foothill College

Martha's COIN 70a JavaScript LIBRARY

Week Topic Scripts Tests
1 a- write() in head; b - prompt() in head, welcome; c - 2 prompts; 2 welcomes
d - 2 prompts, 2 alerts, 1 onload alert; e- function greeting()
lab1b - browser info; basics.js - basic JS scripts
2 a - Data conversion with eval(lunch); c- Math.ceil; eval (lunch+tip); e- Functions: +, -, *; II-b- Functions for Number prompts: +, -, *; numbersAndMath.js
b - Strings: all caps; # in string; stringMethods.js
d- Comparisons; II-a - Prompts: name, sex, age; Conditionals; operators.js
Quiz 1
3 getInfo_writeInfo.js - first name, last name, favorite food, favorite color
getNames_calculateAllowance.js
Quiz 2
4 colorChange.js - changeBgColor(colorName); Color Settings - onClick Event
randomNumber.js - getRandomNumber(lower, size)
spam.js - showEM(userName, emServer); anti-spam email
reload page - onClick Button
5 functions.js - showDate; showTime; calcDays
Dates - dateTimeMethods.js - writeDate; clockRunning; writeCurrentDay
CLOCK; time.js - writeDate; showTime extension.js - dayNumber
New York Clock; NYclock.js - setInterval(); setTimeout.js
Midwest University; today.js - writeDate; writeDailyPage
Home Center Tips; randomTips.js; tips.js - tipText(n); tipTitle(n);
library.js - randInt, randomInteger, showImg
6 The Lighthouse; list.js - parallel arrays; tablesAndTotals.js - display data
7 Name- variables, prompt(); concatenation; document.write(); .length; alert()
Animals - prompt(); arrays; sort(); arrays.js
Widget- getInfo(); eval(); calculate tax; finalPrice(); Math.floor(); writeInfo()
Midterm
8 If; If/Else If; If/Else If/Else; controlStructures.js
Monthly Calendar (calendar.js); Yearly Calendar (yearlyCalendar.js)
9 Write Odd Numbers and Favorite TV Show - While
Rate Your Teacher - Do/While; Famous Cooks - Switch
conditionals.js - If, While, Do-While, Switch
String Methods; stringMethods.js - capitalizeIt(word); capFirstLetter(); findTheZ()
10 Events Practice; Form Events - onSubmit, onReset; Johnny Depp Fan Club
events.js - onLoad, onUnload; onMouseover, onMouseout; return confirm;
Shakespeare; images.js - slideshow options; imagesRollover.js - preloads