TASK 5 Web Makanan Indonesia

Web Warung Makan dan Menu sederhana



Nama : Augista Eksofon Pradana

NRP : 5053231018

Link Tugas : Tugas 5







 HTML :

<!DOCTYPE html>
<html>
    <head>
        <title> Warung RPL</title>
        <link rel="stylesheet" href="RPLwarung.css">
    </head>
        <body>
            <div class="wrapper">
                <header>
                    <h1>Warung RPL</h1>
                    <nav>
                        <ul>
                            <li><a href="" class="current">Beranda</a></li>
                            <li><a href="">Daftar Menu masak</a></li>
                            <li><a href="">Katering</a></li>
                            <li><a href="">Tentang</a></li>
                            <li><a href="">Kontak</a></li>
                        </ul>
                    </nav>
                </header>
                <section class="courses">
                    <article>
                        <figure>
                            <img src="foto/soto.jpg" alt="soto" width="280" height="200" />
                            <figcaption>Soto Indonesia</figcaption>
                        </figure>
                        <hgroup>
                            <h2>Soto Ayam</h2>
                            <h3>Makanan Berkuah</h3>
                        </hgroup>
                        <p>Soto ayam adalah makanan khas Indonesia yang berupa sejenis sup ayam dengan kuah yang berwarna kekuningan.</p>
                    </article>  
                    <article>
                        <figure>
                            <img src="foto/sateayam.jpg" alt="soto" width="280" height="200" />
                            <figcaption>Sate Madura</figcaption>
                        </figure>
                        <hgroup>
                            <h2>Sate Ayam</h2>
                            <h3>Makanan bakar</h3>
                        </hgroup>
                        <p>Sate ayam adalah makanan khas Indonesia yang berupa sejenis sup ayam dengan kuah yang berwarna kekuningan.</p>
                    </article>
                    <article>
                        <figure>
                            <img src="foto/rendang.jpg" alt="soto" width="280" height="200" />
                            <figcaption>Rendang</figcaption>
                        </figure>
                        <hgroup>
                            <h2>Rendang</h2>
                            <h3>Makanan Padang</h3>
                        </hgroup>
                        <p>Rendang adalah makanan khas Indonesia yang berupa sejenis sup ayam dengan kuah yang berwarna kekuningan.</p>
                    </article>      
                    <article>
                        <figure>
                            <img src="foto/sayursop.jpg" alt="soto" width="280" height="200" />
                            <figcaption>Sop Ayam</figcaption>
                        </figure>
                        <hgroup>
                            <h2>Sop Ayam</h2>
                            <h3>Makanan berkuah</h3>
                        </hgroup>
                        <p>Sop ayam adalah makanan khas Indonesia yang berupa sejenis sup ayam dengan kuah yang berwarna kekuningan.</p>
                    </article>            

                </section>
                <aside>
                    <section class="popular-recipes">
                        <h2>Masakan Populer</h2>
                        <a href="">Soto ayam</a>
                        <a href="">Sate Ayam</a>
                        <a href="">Rendang</a>
                        <a href="">Sop Ayam</a>
                    </section>
                    <section class="contact-details">
                        <h2>Kontak</h2>
                        <p>RPL 2023<br />
                            Institut Teknologi Sepuluh Nopember
                    </section>
                    <section class="Food review">
                        <h2>Review Makanan</h2>
                        <iframe  src="https://www.youtube.com/embed/jy7HatwT1GA" width="250" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
                    </section>
                </aside>
                <footer>
                    &copy; 2024 Warung RPL
                </footer>
            </div>
        </body>
    </html>



CSS :

header, section, footer, aside, nav, article, figure, figcaption {
    display: block}
body {
    color: #ce6a42;
    background-color: #ffb218;
    background-image: url("foto/dark-wood.jpg");
    background-position: center;
    font-family: Georgia, Times, serif;
    line-height: 1.4em;
    margin: 0px;}
.wrapper {
    width: 940px;
    margin: 20px auto 20px auto;
    border: 2px solid #d19999;
    background-color: #eec4e2;}
header {
    height: 160px;
    background-color:#ffb218}
h1 {
    color: #000000;
    text-indent: 20px;
    width: 940px;
    height: 130px;
    margin: 0px;}
nav, footer {
    clear: both;
    color: #ffffff;
    background-color: #aeaca8;
    height: 30px;}
nav ul {
    margin: 0px;
    padding: 5px 0px 5px 30px;}
nav li {
    display: inline;
    margin-right: 40px;}
nav li a {
    color: #ffffff;}
nav li a:hover, nav li a.current {
    color: #000000;}
section.courses {
    float: left;
    width: 659px;
    border-right: 1px solid #eeeeee;}
article {
    clear: both;
    overflow: auto;
    width: 100%;}
hgroup {
    margin-top: 40px;}
figure {
    float: left;
    width: 290px;
    height: 220px;
    padding: 5px;
    margin: 20px;
    border: 1px solid #eeeeee;}
figcaption {
    font-size: 90%;
    text-align: left;}
aside {
    width: 230px;
    float: left;
    padding: 0px 0px 0px 20px;}
aside section a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #eeeeee;}
aside section a:hover {
    color: #985d6a;
    background-color: #efefef;}
a {
    color: #de6581;
    text-decoration: none;}
h1, h2, h3 {
    font-weight: normal;}
h2 {
    margin: 10px 0px 5px 0px;
    padding: 0px;}
h3 {
    margin: 0px 0px 10px 0px;
    color: #de6581;}
aside h2 {
    padding: 30px 0px 10px 0px;
    color: #de6581;}
footer {
    font-size: 80%;
    padding: 7px 0px 0px 20px;}

Komentar

Postingan Populer