Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍽️ Food. — Restaurant Website

A fully responsive, modern restaurant landing page built with pure HTML, CSS, and JavaScript. Designed with a clean aesthetic using smooth scroll behavior, sticky navigation, and a mobile-friendly hamburger menu.


📸 Preview

Section Description
Hero Banner Full-viewport background image with a bold tagline and CTA button
About Two-column layout introducing the restaurant story
Menu Card-based grid showcasing featured dishes (Salad, Soup, Pasta)
Expert Chefs Grid of kitchen expert profiles
Testimonials Customer reviews displayed over a food background
Contact Clean contact form for sending messages

✨ Features

  • 🔝 Sticky Header — Navbar transitions from transparent to white with a shadow on scroll
  • 📱 Responsive Design — Fully optimized for desktop, tablet, and mobile screens
  • 🍔 Hamburger Menu — Mobile-friendly toggle navigation for small screens
  • 🎨 Smooth Scroll — CSS scroll-behavior: smooth for seamless section navigation
  • 🖋️ Google Fonts — Uses the Poppins font family
  • 🔴 Brand Accent Color — Consistent use of #ff0157 (vibrant pink-red) as the theme color
  • 💬 Contact Form — Name, email, and message fields with a styled submit button

🗂️ Project Structure

Restuarent-Website/
│
├── index.html      # Main HTML file — all sections and page structure
├── style.css       # Stylesheet — layout, typography, responsive breakpoints
├── script.js       # JavaScript — sticky header logic & mobile menu toggle
└── README.md       # Project documentation

🚀 Getting Started

No build tools or package installation required. Just open the file in any browser!

Option 1 — Open directly

Double-click index.html or drag it into your browser.

Option 2 — Use a local development server (recommended)

If you have VS Code installed, use the Live Server extension:

  1. Open the project folder in VS Code
  2. Right-click index.html
  3. Select "Open with Live Server"

🧩 Sections

# Section ID
1 Hero Banner #banner
2 About Us #about
3 Our Menu #menu
4 Kitchen Experts #expert
5 Testimonials #testimonials
6 Contact Us #contact

🎨 Design Tokens

Token Value
Primary Accent #ff0157
Background Text #111
Muted Text #666
Font Family Poppins (Google Fonts)
Base Transition 0.5s ease

📱 Responsive Breakpoints

Breakpoint Behavior
> 991px Full desktop layout, horizontal nav
≤ 991px Hamburger menu, stacked column layout
≤ 480px Reduced hero text size

🛠️ Technologies Used

  • HTML5 — Semantic markup
  • CSS3 — Flexbox layout, media queries, transitions, background images
  • JavaScript (Vanilla) — DOM manipulation for sticky header and mobile menu toggle
  • Google Fonts — Poppins typeface

👤 Author

Sg Developer
© 2024 Sg Developer. All Rights Reserved.


📄 License

This project is open source and available for personal and educational use.

About

A responsive, modern restaurant landing page built with pure HTML5, CSS3, and Vanilla JavaScript. Features a sticky navigation bar with transparency transitions on scroll, a mobile-friendly hamburger menu, card-based menus, a kitchen experts layout section, a styled contact form, and smooth scroll behaviors.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages