The Tea Calculator is a simple web application that helps tea enthusiasts determine the amount of tea they'll need based on their daily consumption and the chosen calculation type (days or years). This project is built using HTML, CSS, and JavaScript, providing a responsive and user-friendly interface.
- Dynamic Calculation: Choose between calculating tea consumption for a specified number of days or years.
- Flexible Input: Easily input the number of cups consumed per day and the desired duration for the calculation.
- Responsive Design: The user interface adapts smoothly to different screen sizes, ensuring a consistent experience across devices.
- Clone the repository to your local machine.
- Open
index.htmlin a web browser to launch the Tea Calculator.
- Enter the number of cups you consume per day.
- Select the calculation type (days or years).
- If calculating for days, enter the desired duration in days. If calculating for years, input the number of years.
- Click the "Calculate" button to get the total amount of tea needed based on your input.
- The project uses CSS for styling, including a pleasant background and clear input fields.
- JavaScript functions handle dynamic changes in the interface and perform the tea consumption calculation.
Feel free to explore the code, contribute to the project, or provide feedback to enhance the Tea Calculator!