Message from JavaScript talks

April 2017

— To improve my problem solving skill and remember js

— 

dunklesToast do you know any problem solving program to make which is medium to solve (as logic part) but easy as concept (not deep stuff as propotype, I mean stuff with if, loop etc.)

— Make change

— Write a little store with a cart object, and add/remove methods for the cart, then finally a checkout method with a money parameter

Message permanent page

— You will have to calculate change in denominations of your currency

— Ie for US nickels, dimes etc

— Make an example of output

— Like you pay 10€

— And the object is 5

— 5€*

— So the change is 5€

— Yes exactly, then account for lower denominations