Dokum PWeb 6

 Nama : Muhammad Faizul Muttaqin Wahyudi

 NRP : 5053231005

 Deskripsi : Membuat desain Web bertema Warung dengan menggunaakn model HTML 5 ( Header, Nav, Article, Footer )






<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Warung Tegal - Warungnya Indonesia</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f9;
            color: #333;
            margin: 0;
            padding: 0;
        }

        header {
            background-color: #ff5c5c;
            padding: 20px;
            text-align: center;
            color: white;
            font-size: 36px;
            font-weight: bold;
        }

        nav {
            background-color: #ff8787;
            display: flex;
            justify-content: center;
            padding: 10px 0;
        }

        nav a {
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            font-size: 18px;
            font-weight: bold;
        }

        nav a:hover {
            background-color: #ff5c5c;
            border-radius: 5px;
        }

        .container {
            display: flex;
            justify-content: space-between;
            margin: 20px;
        }

        section {
            width: 65%;
            display: flex;
            justify-content: space-between;
        }

        article {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
            width: 48%;
        }

        article img {
            width: 100%;
            border-radius: 10px;
        }

        article h2 {
            font-size: 24px;
            color: #ff5c5c;
        }

        article p {
            font-size: 16px;
            color: #555;
        }

        aside {
            width: 30%;
        }

        aside h2 {
            font-size: 22px;
            color: #ff5c5c;
        }

        aside ul {
            list-style: none;
            padding: 0;
        }

        aside ul li {
            background-color: white;
            margin: 10px 0;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        }

        aside ul li a {
            color: #333;
            text-decoration: none;
            font-size: 18px;
        }

        footer {
            background-color: #ff5c5c;
            color: white;
            text-align: center;
            padding: 20px;
            margin-top: 20px;
        }

        footer p {
            margin: 0;
            font-size: 16px;
        }
    </style>
</head>
<body>
    <header>
        Warung Tegal <br> Warungnya Indonesia
    </header>

    <nav>
        <a href="#">Beranda</a>
        <a href="#">Daftar Masakan</a>
        <a href="#">Katering</a>
        <a href="#">Tentang</a>
        <a href="#">Kontak</a>
    </nav>

    <div class="container">
        <section>
            <article>
                <img src="https://img.freepik.com/premium-photo/soto-ayam-is-typical-indonesian-food-form-kind-chicken-soup-with-yellowish-sauce_431906-2761.jpg?w=2000" alt="Soto Ayam">
                <h2>Soto Ayam</h2>
                <p>Makanan Berkuah</p>
                <p>Soto ayam adalah makanan khas Indonesia yang berupa sejenis sup ayam dengan kuah yang berwarna kekuningan.</p>
            </article>

            <article>
                <img src="https://www.masakapahariini.com/wp-content/uploads/2021/10/Nasi-Pecel-Madiun-780x440.jpg" alt="Masakan Pecel">
                <h2>Masakan Pecel</h2>
                <p>Makanan dengan Bumbu Kacang</p>
                <p>Pecel adalah makanan yang menggunakan bumbu sambal kacang sebagai bahan utamanya yang dicampur dengan aneka jenis sayuran.</p>
            </article>
        </section>

        <aside>
            <h2>Masakan Populer</h2>
            <ul>
                <li><a href="#">Sayur Sop</a></li>
                <li><a href="#">Sayur Asem</a></li>
                <li><a href="#">Sayur Lodeh</a></li>
                <li><a href="#">Sayur Bayam</a></li>
            </ul>

            <h2>Kontak</h2>
            <p>Warung Tegal di seluruh Indonesia</p>
        </aside>
    </div>

    <footer>
        <p>&copy; 2024 Warung Tegal</p>
    </footer>
</body>
</html>



Komentar

Postingan Populer