Resume Website Wireframe
Shown below is a wireframe that would act as the landing page for a resume website. The resume website would be for me, and it would list my traits, education, volunteer work, and more. This wireframe was created in Figma, with this actually being my first time working with that program. Figma's interface was very interesting to use and I look forward to using it to create more wireframes in the future.
Mileage Home Testing Page
This was a project for my CIS-115-OA1 class at AB-Tech. It involved creating a testing page that would be used for testing out four different web pages: mileage-chart, mileage-report, mileage-array, and mileage-function. Each of these pages are used to calculate different values related to mileages. This project was much more challenging to do than the wireframe listed previously. Shown below is the homepage of the site as well as the code.
Mileage-chart uses a FOR loop to create a table displaying several distances in miles as well as the reimbursement for each distance. Shown below is the web page and the code.
Mileage-report opens a text file for reading and uses a WHILE loop to calculate the total mileage, count the total number of trips, and count the number of months with no travel. Shown below is the web page and the code.
Mileage-array uses a FOR loop with several nested IF statements to scan an array and calculate the total mileage, find the longest trip, find the shortest trip, count the number of trips that went to 100 miles or above, and calculate the average length of the trips in the array. Shown below is the web page and the code.
Mileage-function takes an input from the user by asking the user for the number of miles traveled. The program then uses the reimbursement function defined in inc-mileage-functions.php to calculate the reimbursement by multiplying the distance by 0.54. Shown below are the html and php web pages, the code for both pages, and the function list called upon.
Mileage Reimbursement
This was another project for my CIS-115-OA1 class at AB-Tech. This website would be used for converting kilometers to miles and for calculating mileage reimbursements. This project was also more challenging to do than the wireframe. Shown below is the home page and the code for it.
The mileage form page takes the month, number of days, total mileage, number of days where more than 80 miles were traveled, and nights stayed in a hotel, and uses them to create a table displaying the values entered as well as the mileage reimbursement, lunch reimbursement, overnight reimbursement, and total reimbursement. Shown below is the html and php page as well as the corresponding code snippets for both.
The convert page prompts the user for the number of kilometers and multiplies it by 0.621371 to convert it to miles. Shown below are screenshots of the html and php pages as well as the corresponding code for both.