Carpaccio programming JS


Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content
Previous: Step 7 - Include Utah Next: Step 9 - Open in all the 5 states

Step 8

Now, we want to add the discount beginning at 1k for small customers.

Are you able to display the price?
// Hi, there
// use console.log to print something
module.exports = (nbItems, pricePerItem, state) => {

With this step, we have a discounted price for our small customers.

Let's go to the next step.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content