We looked at alerts and prompts. We saw how to prompt the user for data and use the input in the webpage.
Prompt example
We looked at how JavaScript might be used to visualize numeric data using variable cell sizes in tables. I gave a handout of the scores example. This only works as long as the scores are less that the width of the table. I asked students to modify the code so that the scores are assigned space in the correct ratios irrespective of the actual values.
Scores example
Video of the class
Some day soon I will write up a specification for the first assignment. However I already know it will be a compilation of the various exercises we are doing in class.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment