Chapter 4.2โ˜• 60 min

Chai Shop Landing Page Project

Create a complete chai shop landing page from hero section to footer.

01Project Overview

Build a complete landing page for a Hyderabad-style chai shop. This project combines everything โ€” layout, colors, animations, and responsive design โ€” into one beautiful page.

โ˜• Just like Irani chai brings people together, our chai shop page will bring customers in!
02Design Concept

The landing page follows a warm, inviting design inspired by authentic Hyderabadi Irani chai shops:

  • Color Palette: Deep red (#d32f2f) for brand, warm amber (#f57c00) for CTAs, bright accent (#ffb300) for highlights
  • Layout: Hero โ†’ About โ†’ Menu Grid โ†’ Offers โ†’ Testimonials โ†’ Location โ†’ Footer
  • Typography: Bold, friendly headings with readable body text
  • Animations: Subtle fade-in-up on scroll, pulse on CTA button, hover lift on cards
03HTML Structure

The HTML structure uses a clear, semantic layout for the chai shop:

<header class="hero">
  <h1>Hyderabadi Chai Wala</h1>
  <p>Serving the finest Irani chai since 1953</p>
  <a href="#menu" class="cta-button">See Our Menu</a>
</header>

<section id="about" class="about-section">
  <h2>About Us</h2>
  <p>We've been serving authentic Hyderabadi Irani chai...</p>
</section>

<section id="menu" class="menu-section">
  <h2>Our Menu</h2>
  <div class="menu-grid">
    <div class="menu-item">
      <h3>Irani Chai</h3>
      <p class="price">โ‚น15</p>
    </div>
  </div>
</section>
04CSS Styling

Apply these CSS techniques to style the landing page:

:root {
  --primary-color: #d32f2f;
  --secondary-color: #f57c00;
  --accent-color: #ffb300;
  --white: #ffffff;
}

.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.menu-item {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cta-button {
  display: inline-block;
  background: var(--accent-color);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
05Your Turn

Task: Create a complete chai shop landing page with these sections: Hero, About Us, Menu, Special Offers, Testimonials, Location, and Footer. Use CSS Grid/Flexbox for layout, custom properties for theme colors, CSS animations for engagement, and appropriate typography.

Validation Checklist:

  • โœ… Semantic HTML structure for a chai shop landing page
  • โœ… CSS Grid or Flexbox for layout
  • โœ… CSS custom properties for theme colors
  • โœ… Responsive design on mobile and desktop
  • โœ… CSS animations and interactive hover effects
  • โœ… Accessibility best practices

๐Ÿ’ก Hint: Start with mobile-first approach, use CSS variables for colors, combine Grid and Flexbox, add subtle animations for engagement, and ensure accessibility throughout.

Key Takeaways

  • A full landing page combines multiple CSS techniques
  • Gradient backgrounds create visual interest
  • Grid layouts are perfect for card-based sections
  • Subtle animations make a page feel alive
  • Mobile-first responsive design ensures broad reach
Course Search
Search across all chapters & stages
๐Ÿ“–

Search the course

Type any topic โ€” branching, stash, rebase, hooks โ€” and jump straight to that chapter.

merge branchesgit stashundo commitrebase