Deployed on GitHub Pages
- Create payment form component with the following features:
- Sass
- No 3rd party css frameworks
- Has relevant fields (Name, Email, Account Number, Payment Amount)
- Validation:
- All fields except Email are required
- Email properly validates an email
- Payment Amount cannot exceed Available Balance
- Account Number accepts only numbers
- Show errors when validation fails
- Available balance defaults to $500
- Log form submission to the console
- Testing
- Stretch Goals
- Completely reactive
- Save available balance to localstorage
- Visually show decrease in available balance during a transaction
- Admin ability to increase total
- Deploy to GitHub pages
- Super Stretch Goals
- Integrate with an API
- Products Page
- Cart Page
I decided to forego testing because of my limited availability. For an example of when I've written Angular tests take a look at this other project