I have spent quite a bit of time playing with many of the dynamic elements in this assignment and I have searched the web for other examples, mostly dealing with graphics and controlling graphics with a mouse. I was dissatisfied with many of the dynamic elements because they only seemed to work in Internet Explorer or Firefox, but not both. Of course the ones in the assignment work in Internet Explorer since they came from a Microsoft website. Sometimes I had to adapt things a bit to get functionality in both. For example the display feature didn't work quite right in Firefox if I wanted to start the page with something not displayed and then let the user click to display it. In Firefox, you need to click twice (not double click, but 2 individual clicks) the first time you want to display the answers, because I had to make the text white to begin with since I could not make it not appear when the page first opens. (If I wanted to start with the answers already displayed and then click to remove the answers, and then keep clicking to toggle back and forth, then it worked fine, but I really wanted to start with the answers not displayed.) To satisfy the assignment I have included:
If I had more time, I would put more dynamic elements in this part of the assignment. I could play with this stuff for a long time and indeed I have been playing with it every chance I got for about the last week and a half. There are so many to choose from (mouse over this sentence repeatedly)!
Click on each question to display the answer.
What is the name of the property that says you can switch the order of addition?
Commutative Property of Addition
What is the name of the property that says you can regroup when adding?
Associative Property of Addition
Eventually, I would like to write some code where the user has more control of the graphics, but for now, just click on each command.
Select a color: Red, Blue, Green
Select line thickness:
Select a shape: