Assignment #4
(20 points)
- Watch the video
Health Club (PHP)
and continue reading up on PHP.
- Create a Health Club Calculator using PHP
similar to the one developed in the video and shown below.
Save your work as "assignment4-php.php".
-
|
Membership |
|
Charge |
|
Activity |
|
Charge |
|
Basic |
|
$80 |
|
Tennis |
|
$15 |
|
Gold |
|
$100 |
|
Racquetball |
|
$20 |
|
Gold Plus |
|
$120 |
|
Golf |
|
$25 |
|
|
|
|
|
Child Care |
|
$100 |
|
|
|
|
|
Personal Trainer |
|
$120 |
|
|
|
|
|
Swimming Pool |
|
$20 |
- Special considerations
-
- Your application must be mobile responsive. That is, the layout
of your content should be based on the size of the screen it is presented on.
More specifically, your code must contain floating "<div>"
elements as represented by the different colors in the image below.
- The value of "Total" must be calculated any time the user changes or clicks
on an element.
- You do not need to implement a "Clear" button.
-
- Upload this file to your YOUR-CLASS-WEBSITE.
Help.
|