Stateful web controls via Typescript. Less code written as much as possible.
Features:
- Border colors of input elements change after focusing the input element.
- Auto calculation occurs while tapping into input elements.
- Calculation result appears in the input elements.
- *, /, +, - calculations should be calculated inside written expression.
- Border colors imply that written expression is correct or not.
?
appears when the expression is incorrect.Destroy everything
button erases all variables, props, states, etc.- Responsive Design
- Prettier configured. (Please write
npx prettier --write .
to the console :))
After executing npm start
, below screen appears:
Focusing NumericInput
:
Responsive display on mobile phone:
Correct expression written into CalcInput:
False expressions written into NumericInput and CalcInput:
False expressions written into Custom Syle:
In the project directory, you can run:
Installs the apps packages and any packages that it depends on.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Beautifies the entire project.