🍕 Restaurant / Café Website with HTML

🍕 Restaurant / Café Website with HTML

Menu • Contact • Reservation Form

(HTML5 – Semantic – Real Project Mindset)

Hello digital chef! 👨‍🍳💻
Today, there’s no saying “I know the tags.”
Today, we’re using HTML well enough to open a restaurant.

No HTML, no website.
Good HTML, real customers 😎


🧠 1. Before Starting the Project: How Should You Think?

The biggest mistake beginners make is this:

❌ “Which tag should I use?”
“What will the user do on this site?”

In this project, the user will:

  • Enter the website
  • Recognize the brand
  • Check the menu
  • Make a reservation
  • View contact information

📌 We write HTML according to this flow.


🧱 2. HTML5 Skeleton – No Solid Foundation, No Upper Floors

<!DOCTYPE html>
<html lang="tr">
<head>
  <meta charset="UTF-8">
  <meta name="description" content="Lezzet Durağı - Restaurant and Cafe Website">
  <meta name="keywords" content="restaurant, cafe, menu, reservation">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Lezzet Durağı | Restaurant & Cafe</title>
</head>
<body>

</body>
</html>

🔍 In-Depth Tips

  • lang="tr" → Accessibility + SEO
  • meta description → Text shown in Google search results
  • keywords → Old but still useful
  • viewport → The mobile user’s lifesaver 📱

🏠 3. Header – The Brand Takes the Stage 🎭

Header = the restaurant’s signboard
Good sign → more people walk in 😄

<header>
  <h1>🍕 Lezzet Durağı</h1>
  <p>Where flavor and pleasure meet</p>

  <nav>
    <ul>
      <li><a href="#menu">Menu</a></li>
      <li><a href="#reservation">Reservation</a></li>
      <li><a href="#contact">Contact</a></li>
    </ul>
  </nav>
</header>

🧠 Professional Details

  • Menus should be inside lists (ul) → semantic structure
  • <nav> is only for main navigation
  • <h1> = brand name (use only once!)

🎯 SEO rule:
Even if the page is closed, the <h1> should stay in mind.


🍽️ 4. Menu Section – Hunger Management 🤤

The menu is the most critical part of the site.
Lose the user here… game over.

&lt;section id="menu">
  &lt;h2>🍽️ Our Menu&lt;/h2>

  &lt;article>
    &lt;h3>🍔 Hamburger&lt;/h3>
    &lt;p>Grilled patty, cheddar cheese, special sauce&lt;/p>
    &lt;p>&lt;strong>120₺&lt;/strong>&lt;/p>
  &lt;/article>

  &lt;article>
    &lt;h3>🍕 Pizza&lt;/h3>
    &lt;p>Mozzarella, tomato sauce, basil&lt;/p>
    &lt;p>&lt;strong>150₺&lt;/strong>&lt;/p>
  &lt;/article>

  &lt;article>
    &lt;h3>☕ Latte&lt;/h3>
    &lt;p>Freshly ground coffee, milk foam&lt;/p>
    &lt;p>&lt;strong>60₺&lt;/strong>&lt;/p>
  &lt;/article>
&lt;/section>

🔥 Why <article>?

Because:

  • Each product is independent content
  • Search engines love it
  • Can be filtered with JavaScript

📌 Tip:
For future categories, using <article> inside <section> is ideal.


📅 5. Reservation Form – HTML Showing Its Muscles 💪

HTML forms are often underestimated, but:

HTML form = mini backend 😎

&lt;section id="reservation">
  &lt;h2>📅 Make a Reservation&lt;/h2>

  &lt;form>
    &lt;label>
      Full Name:
      &lt;input type="text" placeholder="Enter your name" required>
    &lt;/label>&lt;br>&lt;br>

    &lt;label>
      Email:
      &lt;input type="email" placeholder="example@mail.com" required>
    &lt;/label>&lt;br>&lt;br>

    &lt;label>
      Date:
      &lt;input type="date" required>
    &lt;/label>&lt;br>&lt;br>

    &lt;label>
      Number of Guests:
      &lt;input type="number" min="1" max="20">
    &lt;/label>&lt;br>&lt;br>

    &lt;button type="submit">Make Reservation&lt;/button>
  &lt;/form>
&lt;/section>

🧠 Form Mastery Tips

  • type="email" → automatic validation
  • required → no empty submissions
  • min / max → prevents nonsense input
  • label → accessibility ⭐⭐⭐

📞 6. Contact – The Trust Zone 🔐

People trust brands they can reach.

&lt;section id="contact">
  &lt;h2>📍 Contact&lt;/h2>

  &lt;address>
    &lt;p>📌 Istanbul / Kadıköy&lt;/p>
    &lt;p>📞 +90 555 123 45 67&lt;/p>
    &lt;p>📧 info@lezzetduragi.com&lt;/p>
  &lt;/address>
&lt;/section>

🎯 Why Is <address> Important?

  • Semantic tag
  • Search engines understand location
  • Provides a professional look

👋 7. Footer – HTML’s Signature ✍️

&lt;footer>
  &lt;p>© 2025 Lezzet Durağı. All rights reserved.&lt;/p>
&lt;/footer>

Footer =
“This website is complete” 😄


🚀 8. Level Up the Project (Secret Roadmap)

🟢 Beginner

  • Semantic HTML structure
  • Basic forms

🔵 Intermediate

  • Design with CSS
  • Responsive menu

🔴 Advanced

  • Reservation validation with JavaScript
  • Menu filtering
  • Dark mode 🌙

🎯 Mini Challenge (Real Learning Happens Here!)

Using the same structure, create:

  • ☕ Café website
  • 🍔 Fast-food site
  • 🌱 Vegan restaurant
  • 🍰 Bakery

📌 Rule:
Same HTML structure → different content.


🧠 FINAL WORD

If you completed this project with understanding:

  • You know HTML ✅
  • You think semantically ✅
  • You have a portfolio-ready project ✅

🚀

Comments

No comments yet. Why don’t you start the discussion?

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir