JIT
Creating a salon management website with essential features
Generate a code for making salon management website with essential pages including services appointments payment products and other essential pages using html css and javascript

Salon Management Website

Here's a comprehensive salon management website with essential pages built using HTML, CSS, and JavaScript:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Elegance Salon - Management System</title>
    <style>
        /* Global Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            color: #333;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header Styles */
        header {
            background-color: #6a0dad;
            color: white;
            padding: 20px 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 20px;
        }
        
        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        nav ul li a:hover {
            color: #d1c4e9;
        }
        
        /* Main Content Styles */
        main {
            padding: 40px 0;
        }
        
        .dashboard {
            display: grid;
            grid-template-columns: 250px 1fr;
            gap: 20px;
        }
        
        .sidebar {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .sidebar h3 {
            margin-bottom: 20px;
            color: #6a0dad;
        }
        
        .sidebar ul {
            list-style: none;
        }
        
        .sidebar ul li {
            margin-bottom: 10px;
        }
        
        .sidebar ul li a {
            color: #333;
            text-decoration: none;
            display: block;
            padding: 8px 10px;
            border-radius: 4px;
            transition: all 0.3s;
        }
        
        .sidebar ul li a:hover, .sidebar ul li a.active {
            background-color: #6a0dad;
            color: white;
        }
        
        .content {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .content h2 {
            color: #6a0dad;
            margin-bottom: 20px;
        }
        
        /* Table Styles */
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        table th, table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        
        table th {
            background-color: #f0e6ff;
            color: #6a0dad;
        }
        
        table tr:hover {
            background-color: #f9f5ff;
        }
        
        /* Form Styles */
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .form-group input, 
        .form-group select, 
        .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
        }
        
        .form-group textarea {
            min-height: 100px;
        }
        
        .btn {
            background-color: #6a0dad;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }
        
        .btn:hover {
            background-color: #5e0b9e;
        }
        
        .btn-secondary {
            background-color: #6c757d;
        }
        
        .btn-secondary:hover {
            background-color: #5a6268;
        }
        
        /* Card Styles */
        .cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .card {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            text-align: center;
        }
        
        .card h3 {
            color: #6a0dad;
            margin-bottom: 10px;
        }
        
        .card .number {
            font-size: 36px;
            font-weight: bold;
            color: #6a0dad;
        }
        
        /* Responsive Styles */
        @media (max-width: 768px) {
            .dashboard {
                grid-template-columns: 1fr;
            }
            
            .cards {
                grid-template-columns: 1fr;
            }
            
            nav ul {
                display: none;
            }
        }
    </style>
</head>
<body>
    <header>
        <div class="container">
            <nav>
                <div class="logo">Elegance Salon</div>
                <ul>
                    <li><a href="#" class="active">Dashboard</a></li>
                    <li><a href="#services">Services</a></li>
                    <li><a href="#appointments">Appointments</a></li>
                    <li><a href="#payments">Payments</a></li>
                    <li><a href="#products">Products</a></li>
                    <li><a href="#staff">Staff</a></li>
                </ul>
            </nav>
        </div>
    </header>
    
    <main>
        <div class="container">
            <div class="dashboard">
                <div class="sidebar">
                    <h3>Menu</h3>
                    <ul>
                        <li><a href="#" class="active">Dashboard</a></li>
                        <li><a href="#services">Services</a></li>
                        <li><a href="#appointments">Appointments</a></li>
                        <li><a href="#payments">Payments</a></li>
                        <li><a href="#products">Products</a></li>
                        <li><a href="#staff">Staff</a></li>
                        <li><a href="#customers">Customers</a></li>
                        <li><a href="#reports">Reports</a></li>
                        <li><a href="#settings">Settings</a></li>
                    </ul>
                </div>
                
                <div class="content">
                    <h2>Dashboard</h2>
                    
                    <div class="cards">
                        <div class="card">
                            <h3>Today's Appointments</h3>
                            <div class="number">12</div>
                        </div>
                        <div class="card">
                            <h3>Monthly Revenue</h3>
                            <div class="number">$8,450</div>
                        </div>
                        <div class="card">
                            <h3>Active Staff</h3>
                            <div class="number">5</div>
                        </div>
                    </div>
                    
                    <h3>Recent Appointments</h3>
                    <table>
                        <thead>
                            <tr>
                                <th>ID</th>
                                <th>Customer</th>
                                <th>Service</th>
                                <th>Staff</th>
                                <th>Date</th>
                                <th>Time</th>
                                <th>Status</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>#1001</td>
                                <td>Sarah Johnson</td>
                                <td>Haircut</td>
                                <td>Emma Wilson</td>
                                <td>2023-06-15</td>
                                <td>10:00 AM</td>
                                <td>Completed</td>
                            </tr>
                            <tr>
                                <td>#1002</td>
                                <td>Michael Brown</td>
                                <td>Beard Trim</td>
                                <td>James Smith</td>
                                <td>2023-06-15</td>
                                <td>11:30 AM</td>
                                <td>Completed</td>
                            </tr>
                            <tr>
                                <td>#1003</td>
                                <td>Lisa Davis</td>
                                <td>Hair Color</td>
                                <td>Emma Wilson</td>
                                <td>2023-06-15</td>
                                <td>2:00 PM</td>
                                <td>Confirmed</td>
                            </tr>
                            <tr>
                                <td>#1004</td>
                                <td>Robert Wilson</td>
                                <td>Man*
Preview not available