Mapty is a web application that allows users to track and map their workouts. It provides a simple and intuitive interface for users to log their running and cycling activities.
- Log running and cycling workouts
- Track distance, duration, cadence, and elevation gain
- View workout history
- Map workouts on a interactive map
- A modern web browser (Google Chrome, Mozilla Firefox, Safari, etc.)
- An internet connection
- Clone the repository using
git clone https://github.com/your-username/mapty.git - Open the
index.htmlfile in a web browser - Click on the "Logo" to toggle the sidebar
- Fill out the form to log a new workout
- Click on the "OK" button to save the workout
- View your workout history in the sidebar
- Click on a workout to view its details on the map
The code is structured as follows:
index.html: The main HTML file that contains the structure of the applicationstyle.css: The CSS file that styles the applicationscript.js: The JavaScript file that contains the logic of the application
Contributions are welcome! If you'd like to contribute to the project, please fork the repository and submit a pull request.
- The project uses the Google Fonts API to load the Manrope font.
- The project uses the Leaflet library to display the map.