Mapty is a web application that allows users to track their workouts by marking their exercise locations on a map and adding details about each workout. This project was coded along with Jonas Schmedtmann's JavaScript course on Udemy.
- Interactive Map: View and interact with a world map.
- Workout Logging: Add workout details such as type (running or cycling), distance, duration, and more.
- Local Storage: All workout data is stored locally in the browser, so it persists even after refreshing the page.
- Adding Workouts: Click on the map to add a workout at a specific location.
- Entering Details: A form will appear where you can enter details about your workout, such as whether it was running or cycling, the distance, duration, and any additional notes.
- Viewing Workouts: All added workouts are displayed on the map with markers and listed below the map for easy access.
- HTML
- CSS
- JavaScript
- Leaflet (for map functionality)
- LocalStorage API
-
Clone the repository:
git clone https://github.com/ahmadmohammadirad2006/mapty.git
-
Open
index.html
in your browser to view the application.
This project was created as part of Jonas Schmedtmann's JavaScript course on Udemy. Special thanks to Jonas for his excellent teaching and resources.
If you have any suggestions or improvements, feel free to create a pull request or open an issue.