Загрузка данных


этот код похож будто его студент писал?
<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Emirates | Главная страница</title>
    <style>
        /* Общие стили */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f4f4f4;
            color: #333;
        }

        /* Шапка сайта */
        header {
            background-color: #d71921; /* Фирменный красный цвет Emirates */
            color: white;
            padding: 15px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            letter-spacing: 1px;
        }

        nav a {
            color: white;
            text-decoration: none;
            margin-left: 25px;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        nav a:hover {
            opacity: 0.8;
        }

        /* Главный баннер */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://unsplash.com') no-repeat center center/cover;
            height: 450px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
            padding: 20px;
        }

        .hero h1 {
            font-size: 42px;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
        }

        .hero p {
            font-size: 20px;
            margin-bottom: 30px;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
        }

        /* Форма бронирования */
        .booking-container {
            max-width: 1100px;
            margin: -50px auto 50px auto;
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            position: relative;
            z-index: 10;
        }

        .booking-form {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            align-items: flex-end;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            font-size: 13px;
            font-weight: bold;
            color: #666;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .form-group input, .form-group select {
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 15px;
            outline: none;
            transition: border-color 0.3s;
        }

        .form-group input:focus, .form-group select:focus {
            border-color: #d71921;
        }

        .btn-search {
            background-color: #d71921;
            color: white;
            border: none;
            padding: 14px;
            font-size: 16px;
            font-weight: bold;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .btn-search:hover {
            background-color: #b51319;
        }

        /* Секция направлений */
        .destinations {
            max-width: 1100px;
            margin: 0 auto 60px auto;
            padding: 0 20px;
        }

        .destinations h2 {
            text-align: center;
            margin-bottom: 30px;
            color: #222;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .card-content {
            padding: 20px;
        }

        .card-content h3 {
            margin-bottom: 10px;
            color: #333;
        }

        .card-content p {
            color: #666;
            font-size: 14px;
            line-height: 1.5;
        }

        /* Футер */
        footer {
            background-color: #111;
            color: #aaa;
            text-align: center;
            padding: 30px 20px;
            font-size: 14px;
            border-top: 4px solid #d71921;
        }

        /* Адаптивность для мобильных устройств */
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                padding: 15px;
            }
            nav {
                margin-top: 15px;
            }
            nav a {
                margin: 0 10px;
            }
            .hero h1 {
                font-size: 28px;
            }
            .booking-container {
                margin-top: 20px;
            }
        }
    </style>
</head>
<body>

    <!-- Шапка сайта -->
    <header>
        <div class="logo">Emirates</div>
        <nav>
            <a href="#">Бронирование</a>
            <a href="#">Услуги</a>
            <a href="#">Направления</a>
            <a href="#">Вход</a>
        </nav>
    </header>

    <!-- Главный баннер -->
    <section class="hero">
        <h1>Летайте выше, летайте лучше</h1>
        <p>Откройте для себя мир с непревзойденным комфортом Emirates</p>
    </section>

    <!-- Форма поиска билетов -->
    <div class="booking-container">
        <form class="booking-form" onsubmit="event.preventDefault(); alert('Поиск рейсов запущен на локальном макете!');">
            <div class="form-group">
                <label for="from">Откуда</label>
                <input type="text" id="from" placeholder="Город или аэропорт" required value="Москва (DME)">
            </div>
            <div class="form-group">
                <label for="to">Куда</label>
                <input type="text" id="to" placeholder="Город или аэропорт" required value="Дубай (DXB)">
            </div>
            <div class="form-group">
                <label for="date">Дата вылета</label>
                <input type="date" id="date" required>
            </div>
            <div class="form-group">
                <label for="class">Класс обслуживания</label>
                <select id="class">
                    <option>Экономкласс</option>
                    <option>Премиум-эконом</option>
                    <option>Бизнес-класс</option>
                    <option>Первый класс</option>
                </select>
            </div>
            <button type="submit" class="btn-search">Найти рейсы</button>
        </form>
    </div>

    <!-- Популярные направления -->
    <section class="destinations">
        <h2>Популярные направления из Москвы</h2>
        <div class="grid">
            <div class="card">
                <img src="https://unsplash.com" alt="Дубай">
                <div class="card-content">
                    <h3>Дубай, ОАЭ</h3>
                    <p>Фантастическая архитектура, роскошный шопинг и чистейшие пляжи Персидского залива ждут вас.</p>
                </div>
            </div>
            <div class="card">
                <img src="https://unsplash.com" alt="Сидней">
                <div class="card-content">
                    <h3>Сидней, Австралия</h3>
                    <p>Комфортный перелет с удобной пересадкой в знаменитый город-порт с культовой архитектурой.</p>
                </div>
            </div>
            <div class="card">
                <img src="https://unsplash.com" alt="Венеция">
                <div class="card-content">
                    <h3>Мале, Мальдивы</h3>