Creating a website for Bus Mall to collect customer data relating to product popularity.
- Thanks to Marchael Acode and Tif Taylor for help getting charts working.
- Thanks to Darius Pasilaban for assistance in applying a variable to an Object class.
- Code References:
- Adding optional parameters to functions - https://www.markhansen.co.nz/javascript-optional-parameters/
- Removing element through reference to parent - https://catalin.red/removing-an-element-with-plain-javascript-remove-method/
- Random number generation - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random
- Splicing from arrays - https://love2dev.com/blog/javascript-remove-from-array/
- Array method includes() - https://stackoverflow.com/questions/237104/how-do-i-check-if-an-array-includes-a-value-in-javascript
- Accessing last array element - https://stackoverflow.com/questions/3216013/get-the-last-item-in-an-array
- Using modulo to repeat over array - https://stackoverflow.com/questions/59691890/chart-js-repeating-colors