Carpaccio programming JS
jlandure
25.4K views
Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Step 4
Now, we want to display the price if the customer take more than one item. We also want to display the price all taxes included for the state "CA" If the state is not "CA", please display the price without tax.
Are you able to display the price?
1
2
3
4
5
6
// Hi, there
// use console.log to print something
module.exports = (nbItems, pricePerItem, state) => {
};
Enter to Rename, Shift+Enter to Preview
With this step, we have a new version to allow our customer to buy more than one item! Great!
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content