
In this class, we were given a final project that required us to use our knowledge in JavaScript and HTML with AI to create the code for a Loan Repayment Calculator and our own special purpose calculator. This project was expected to be completed as a one person task. I first completed the Loan Repayment Calculator and was instructed to calculate the amount of money that goes into a loan, the interest percentage, and the monthly payment. After completing that, we were given the choice of creating our calculator of any choice. Since I like plants and the earth, I chose to create a Succulent Longevity Calculator. This calculator uses the following:
- Light Exposure (hours)
- Water (Ounces)
- Temperature (ºF)


The factors listed above calculate how long your succulent will live depending on the controlled circumstances given. If the plant is in conditions that are not suitable for the longevity of its life, there is a message that states that the “Environment [is] not suitable for survival.” On the other hand, if you enter the value zero for any, if not, all of the input boxes, there will be a message that states, “Invalid input. Check your values.”
I created this calculator because anyone can use it for their own personal growth in their green thumb journey and because I truly do love succulents and creativity.
Project URL: https://misdemo.temple.edu/tut26379c/project2/
