Skip to content

AdeelaSaleem/Tea-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tea Calculator

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.

Features:

  • 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.

Getting Started:

  1. Clone the repository to your local machine.
  2. Open index.html in a web browser to launch the Tea Calculator.

How to Use:

  1. Enter the number of cups you consume per day.
  2. Select the calculation type (days or years).
  3. If calculating for days, enter the desired duration in days. If calculating for years, input the number of years.
  4. Click the "Calculate" button to get the total amount of tea needed based on your input.

Additional Information:

  • 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!

About

The Tea Calculator is a web application designed to simplify the process of estimating tea consumption based on user preferences. Developed using HTML, CSS, and JavaScript, the project delivers a user-friendly interface for tea enthusiasts.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages