Back
Close

Carpaccio programming JS

jlandure
5,233 views
Previous: Step 9 - Open in all the 5 states

Step 10 - Final Step

To finish, let's implement all the discounts in our ecommerce website.

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

With this step, we have a fully ecommerce website available in 5 states and offering different kind of discount.

Congratulations

Why Elephant Carpaccio?

It's very thin slices, each one still elephant-shaped. Together they form the whole elephant. priorities

Why split stories?

Learn faster. Deliver more often. Happier stakeholders. More in-sync with other people & teams. Better prioritizations. Better product earlier. More business options. Less risk (less time “underwater”). Sense of velocity. Easier planning. priorities

Why Priorities?

Here is the illustration for priorities on this value curve. Our Target was 5 discounts, 5 states. priorities

Resources:

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants