MarquessV / PHP-Tip-Calc

Tip Calculator is a tip calculator PHP page
0 stars 0 forks source link

Pre-work - Tip Calculator

Tip Calculator is a tip calculator PHP page.

Submitted by: Marquess Valdez

Time Spent: 4 hours spent in total.

User Stories

A user can enter their bill subtotal, desired tip percentage, and party size then easily calculate the tip amount and grand total of their bill for themselves and any party member.

The following required functionality is complete:

The following optional features are implemented:

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

GIF created with LiceCap.

Notes

This is my first experience ever with PHP. Because of this there was a lot of time spent actually getting things to display the way I wanted to.

For the custom tip percentage functionality I originally started with a radio button and had it fully functioning. However, from a users perspective I think it makes more sense to have a checkbox. A possible alternative would be to use Javascript to make the static and custom tip percentages appear mutually exclusive.

License

Copyright [2017] [Marquess Valdez]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.