Discover India's most breathtaking hill stations through an immersive, animated travel experience — with live weather data on every destination.
Montara is a hill station discovery platform that helps travelers explore hidden and popular destinations across India. Built with vanilla HTML, CSS, and JavaScript — no frontend framework.
The project started as a college HTML/CSS assignment and evolved into a full-featured, JavaScript-powered travel platform with smooth animations, real-time weather data via API integration, multi-page architecture, and a fully functional contact form with email notifications.
Each destination has its own dedicated page with top attractions, a photo gallery, best time to visit, and travel tips — styled consistently using shared CSS (explore.css) and shared JS (common.js).
- Live Weather API — Real-time temperature and conditions on every destination card via the OpenWeatherMap API (async/await, loading spinner, graceful error handling)
- Functional Contact Form — Real-time email notifications via EmailJS, with no dedicated backend required
- Real-time Search & Filter — Instant destination search using DOM manipulation with a live card counter
- Scroll Progress Bar — Fixed top bar showing reading progress via
window.scroll - GSAP + TextPlugin — Animated hero text typewriter effect on the homepage
- Locomotive Scroll — Smooth scroll with lerp across all pages
- IntersectionObserver Animations — Cards animate in on scroll with staggered delay
- Form Validation — Full client-side validation (name, email regex, destination whitelist, date, message)
- Responsive Navigation — Mobile-friendly hamburger menu with CSS toggle animation
- Fully Responsive — Desktop, tablet (768px), and mobile (480px) breakpoints
Each destination card fetches live weather data from the OpenWeatherMap API on page load:
- Temperature in Celsius (rounded)
- Current weather condition (clear sky, light rain, etc.)
- Loading spinner while fetching, with a graceful fallback on error
- Implemented using
async/awaitandfetch()— no external libraries
async function fetchWeather(city) {
const res = await fetch(
`https://api.openweathermap.org/data/2.5/weather?q=${city}&appid=${API_KEY}&units=metric`
);
const data = await res.json();
return { temp: Math.round(data.main.temp), desc: data.weather[0].description };
}The "Plan Your Trip" form on the homepage sends real-time email notifications using EmailJS, eliminating the need for a custom backend or server-side mail handling:
- Client-side validation runs first (name, email format, destination whitelist, date, message)
- On successful validation, form data is sent via
emailjs.sendForm()directly from the browser - Success and error states are handled gracefully with user-facing feedback
emailjs.sendForm("service_id", "template_id", form)
.then(function () {
successMessage.style.display = "block";
form.reset();
}, function (error) {
console.log("EmailJS error:", error);
});| Destination | State | Highlights |
|---|---|---|
| Leh | Ladakh | Pangong Lake, Nubra Valley, Magnetic Hill |
| Shimla | Himachal Pradesh | Mall Road, Jakhu Temple, The Ridge |
| Ooty | Tamil Nadu | Nilgiri Hills, Botanical Garden, Ooty Lake |
| Coorg | Karnataka | Abbey Falls, Raja's Seat, Coffee Estates |
| Pahalgam | Jammu & Kashmir | Betaab Valley, Aru Valley, Baisaran |
| Gulmarg | Jammu & Kashmir | Gondola Ride, Skiing, Alpine Meadows |
| Kodaikanal | Tamil Nadu | Coaker's Walk, Bear Shola Falls, Star Lake |
| Kalpa | Himachal Pradesh | Kinner Kailash, Apple Orchards |
| Pangi Valley | Himachal Pradesh | Sach Pass, Remote Himalayan Culture |
| Technology | Usage |
|---|---|
| HTML5 | Semantic structure across 10+ pages |
| CSS3 | Flexbox, Grid, Glassmorphism, Responsive design |
| JavaScript (Vanilla) | DOM, Events, Fetch API, Async/Await, IntersectionObserver, Validation |
| OpenWeatherMap API | Live weather data on all destination cards |
| EmailJS | Serverless contact form email notifications |
| GSAP 3.13 + TextPlugin | Hero typewriter animation |
| Locomotive Scroll 4.1.4 | Smooth scroll with lerp on all pages |
| Font Awesome 6.5 | Social icons on destination pages |
| Google Fonts | Poppins, Playfair Display |
| Vercel | Deployment & Hosting |
Montara/
├── index.html # Main landing page
├── style.css # Homepage styles (glassmorphism, nav, cards, weather badge)
├── script.js # Homepage JS (search, scroll bar, GSAP, form, weather API, EmailJS)
├── explore.css # Shared styles for all 9 destination pages
├── common.js # Shared Locomotive Scroll init for destination pages
│
├── leh.html # Leh — Pangong, Nubra, Magnetic Hill, Thiksey
├── Shimla.html # Shimla destination page
├── Shimla.css # Shimla-specific styles
├── ooty.html
├── coorg.html
├── pahalgam.html
├── gulmarg.html
├── kodaikanal.html
├── kalpa.html
├── PangiValley.html
│
├── Montara(3).png # Logo
├── Montara_Logo.png
└── Images/ # 100+ destination images (jpg, webp, avif)
Visit montara-zeta.vercel.app
# Clone the repository
git clone https://github.com/RashiSingh1/Montara.git
cd Montara
code .
# Open index.html with Live Server (VS Code extension)No build step, no npm, no framework — pure HTML/CSS/JS.
| Issue | Fix Applied |
|---|---|
| GSAP TextPlugin not registered | Added gsap.registerPlugin(TextPlugin) |
Locomotive Scroll + window.scroll conflict on progress bar |
Used scroll.on("scroll") instead |
Search hiding cards with opacity: 0 |
Added classList.add/remove("show") alongside display toggle |
DOMContentLoaded firing too late for weather |
Replaced event listener with direct loadAllWeather() call |
| Weather badge layout shift during loading | Added min-height on badge + spinner + .hidden utility class |
- Building a multi-page website with shared CSS and JS across 9+ pages
- Integrating a real REST API (OpenWeatherMap) using
fetch()andasync/await - Implementing loading states, error handling, and spinner UI for async operations
- Writing real-time search/filter logic from scratch without any library
- Using the IntersectionObserver API for performant scroll-triggered animations
- Client-side form validation with regex and destination whitelisting
- Integrating a third-party email service (EmailJS) to add real functionality to a static frontend
- Mobile-first responsive design with a hamburger menu
- Deploying and managing a multi-page project on Vercel
Rashi Kumari
This project is open source and available under the MIT License.