Your study journey, pinned on the map.
StudySpot is a front-end web application that allows users to log,
visualize, and track their study sessions geographically.
From quiet libraries to busy cafés, every session becomes a data point
--- helping you understand where you focus best.
- 📍 Interactive Map (Leaflet)
- Click anywhere to pin a study location
- 🧠 Session Logging
- Record:
- Noise level
- Focus percentage
- Power outlets availability
- Food/drinks allowance
- Personal rating ⭐
- Notes
- Record:
- 🗺️ Reverse Geocoding
- Converts coordinates into readable locations
- 🧾 Dynamic Study Cards
- Each session is displayed as a rich UI card
- 📌 Map Popups
- View session info directly on the map
- 💾 Local Storage Persistence
- Sessions are saved and restored on reload
- 🎯 Smooth UX
- Scroll reveal animations
This project demonstrates:
- Real-world state management without frameworks
- Handling geolocation APIs
- Integration with Leaflet + Geocode.xyz
- Data persistence (localStorage)
- Dynamic DOM rendering (cards + map markers)
- 🧱 HTML5
- 🎨 CSS3
- ⚡ JavaScript (Vanilla)
- 🗺️ Leaflet.js
- 🌍 Geocode.xyz API
- 💾 LocalStorage API
StudySpot/
│
├── index.html
├── style.css
├── form.css
├── script.js
├── ui.js
└── images/
- Allow location access
- Click on the map
- Fill the form
- Save → marker + card created
- Data persists via localStorage
- User authentication
- Backend integration
- Analytics dashboard
- Smart recommendations