Skip to content

quintin-dev/JavaScript-Mini_Project-Calorie_Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini Project: Calorie Counter

Description

This JavaScript-based project is a calorie tracking application designed to help users manage their daily caloric intake and expenditure. Users can set a daily calorie budget, add entries for meals (breakfast, lunch, dinner, snacks), and log exercises to calculate the remaining calories. The application dynamically updates the calorie count and provides feedback on whether the user is in a surplus or deficit.

#freeCodeCamp JavaScript Algorithms and Data Structures Projects

Live Demo

Calorie Counter Application

Features

  • Calorie Budgeting
    • Allows users to set a daily calorie budget.
  • Dynamic Entry Management
    • Users can add and track individual entries for meals and exercises.
  • Surplus or Deficit Calculation
    • Calculates and displays whether the user is in a calorie surplus or deficit.
  • Interactive Feedback
    • Provides detailed stats, including consumed calories, burned calories, and the remaining budget.
  • Input Validation
    • Ensures clean and valid input data for accurate calculations.

Technologies Used

  • HTML, CSS for the user interface.
  • JavaScript for dynamic functionalities, event handling, and DOM manipulation.

Disclaimer

This project is part of the JavaScript Algorithms and Data Structures Projects on freeCodeCamp. The original project tutorial can be found here.

Don't forget to star ⭐ this repo if you liked or found it useful!