Web Design:
- Tried to separate index.html and the color change script, but it seemed too complicated to do with limited javascript knowledge.
- Changed color change javascript to be in a function and added a button to call it
- Added an onload attribute to the <body> element to call the function
Bottle:
- Created math_drill repository
I shortened your main.js a bit, named it colors.js, and put it in a js directory inside your public_html directory. As you start creating more and more files, its a good idea to use directories to keep things from getting too cluttered.
ReplyDeleteWow, you've already completed my request from Monday's comment, and you haven't even read it yet! ;-)