Carpaccio programming JS
jlandure
23.8K views
Step 3
Now, we want to display the price all taxes included for the state "CA" If the state is not "CA", please display the unit price.
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) => {
};
With this step, we could set in production our ecommerce website to sell products! Keep going!
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Suggested playgrounds