A simple NextJS + Chakra UI project with a demo component that sums digits together.
- As a user
- I would like to select digits
- In order to calculate a sum
- The select contains digits 1-9
- IF the user has not selected a digit THEN the select shows the option "Select digits"
- IF the user selects a digit THEN the digit is added to the sum AND the digit is disabled inside the select AND the digit is added as a tag next to the sum
- IF the user presses a digit tag THEN the digit is removed from the sum AND the digit is not disabled inside the select anymore
The live version of this project is available on Digit Calculator
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.