Run Smart Calculator

Run Smart Calculator
Run Smart Calculator




Run Smart Calculator
Run Smart Calculator Enter Distance (km):Enter Time (minutes):Enter Weight (kg):Calculate


Features of the Code:

  1. User Inputs:

Distance in kilometers.

Time in minutes.

Weight in kilograms.

  1. Outputs:

Pace (minutes per kilometer).

Speed (kilometers per hour).

Calories burned.

  1. Responsive Design:

Works on both mobile and PC.

Adjusts perfectly for small screens.

  1. Validation:

Ensures valid positive numbers are entered for all fields.

Displays an error message for invalid input.

  1. Placement:

Calculator is displayed under the header.

Medium size, clean, and user-friendly design.


How It Works:

  1. Users input the distance, time, and weight.
  2. Clicking the “Calculate” button performs calculations for:

Pace: Time per kilometer.

Speed: Distance covered in an hour.

Calories burned: Based on MET value for running, user’s weight, and time.

  1. Results are displayed in a clear and visually appealing format.

This is perfect for fitness enthusiasts or educational purposes.