https://github.com/frizbee/js-cart-calculator
https://github.com/frizbee/js-cart-calculator
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/frizbee/js-cart-calculator
- Owner: frizbee
- License: apache-2.0
- Created: 2018-06-09T09:20:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-09T09:44:43.000Z (about 8 years ago)
- Last Synced: 2025-01-25T17:33:08.326Z (over 1 year ago)
- Language: HTML
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JS Cart Calculator
### Screenshot

### Add more fields
Just Add another form-group:
```
Pets
```
After that add new object item in js file:
```
var price = {
adults: document.getElementById('price_adults').value,
children: document.getElementById('price_children').value,
pets: 14.50
}
```
Please feel free to improve