Preperation
- MDN Documentation:
- W3Schools Documentation:
- Continue to read JS DOM Sections DOM CSS through DOM Node Lists
In class:
- Highlite some newer JS conventions (and call out some that are out of date)
- Start the Active Learning, below
Active Learning
- Make a Calculator app that gets two numbers, say a and b, from a user. Do operations
on them using buttons listening for events; register callback functions to handle
the operations (+, -, *, /, ab, etc.)
- Go further by some custom operations like sum the numbers between a and b.
- make sure a and b are integers
- dynamically change styling on the buttons when they are clicked to show they're the
active operation
- use html entitie references on the buttons
MSU Bozeman
Montana State University
358 Barnard Hall
P.O. Box 173880
Bozeman, MT 59717-3880
Email
daniel.defrance@montana.edu