|
|
Programming for Computer Lovers (M 211) TopicsWhat is JavaScript? Setting up a web site to contain and display scripts. Web sits for learning and reference: Interacting with the site visitor: Alter (say hello) and prompt (ask visitor's name). Example programs. Data Types & Math (add, subtract and multiple numbers need parseInt) (math problem) Syntax- upper/lower case, ";", "( )" vs "[ ]" vs "{ }" Logic, sequence, conditional, loop Conditions: if (state capital quiz) and switch/case (day of the week) Variable versus literals HTML JavaScript connection (text size) Objects, properties, methods, functions and events. Example programs
Looping with while and do while. (counting) Arrays (animated images) Adapting and incorporating JavaScripts available on the web. What's next - how to use these tools at home |