Tugas 4 PWEB - D

Pada postingan kali ini, saya akan memaparkan hasil pembuatan katalog toko baju menggunakan html dan css. Berikut adalah code untuk html dan css nya :


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jual Baju</title>
<link rel="stylesheet" href="main.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Birthstone&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<div class="header">
<div class="jarak">
<h2>Berkah Store</h2>
<h3>Berkah disetiap jahitannya</h3>
</div>
</div>
<div class="menu">
<ul>
<li><a href="">Home</a></li>
<li><a href="">Article</a></li>
<li><a href="">Catalog</a></li>
<li><a href="">About</a></li>
<li><a href="">Contact</a></li>
</ul>
</div>
<div class="content">
<div class="jarak">
<div class="kiri">
<h3> Catalog > Baju Pria > Kemeja ABC </h3>
<div class="border">
<div class="jarak">
<div class="row">
<div class="col">
<img src="https://images.tokopedia.net/img/cache/700/product-1/2018/9/4/35734172/35734172_2baeece8-bd76-4aab-9a8b-817374dd83a8_1536_1536.jpeg" >
</div>
<div class="col" style="margin-left: 50px;">
<h2>Kemeja ABC</h2>
<p style="font-size: 20px;" ><b> Rp250.000,-</b></p>
<p> <b>Kemeja ABC </b>Lorem lorem ipsum ipsum ini caption ya
</p>
<p ><b> Size</b></p>
<div class="round">
<button class="button" style="border-radius: 100%;">S</button>
<button class="button" style="border-radius: 100%;">M</button>
<button class="button" style="border-radius: 100%;">L</button>
<button class="button" style="border-radius: 100%;">X</button>
</div>
<div class="square">
<button class="buttons">See Review</button>
<button class="buttons">Add to Cart</button>
</div>
</div>
</div>
</div>
</div>
<div class="border" style="margin-top: 4rem;" >
<div class="row" >
<div class="jarak" style="margin-top: 10px; margin-right: 4rem;" >
<h3 style="font-size: 18px;"><b>Explore</b></h3>
<p><a href="" class="undecor">Kemeja Terkini</a></p>
<p><a href="" class="undecor">Vibes Jadul</a></p>
<p><a href="" class="undecor">Pakaian Musim Panas</a></p>
<p><a href="" class="undecor">Jaket</a></p>
<p><a href="" class="undecor">Kaos Oblong</a></p>
</div>
<div class="kanan">
<div class="col" >
<h3 font-size: 18px;><b>Lebih Banyak Lagi</b></h3>
<img src="https://cf.shopee.co.id/file/b9cbd4db2d6b2acd9065cc67a6bf403b" style="width: 160px;">
<p><b>Kemeja Greenlight</b></p>
<p > Rp200.000,-</p>
</div>
<div class="col">
<h3 style="color: black;"><b>Recommended Items</b></h3>
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBISEhIRERERERESEQ8RERERDxERERERGBMZGRgTGBgbIS0kGx0qHxgYJTclKi4xNDQ3GiM6Pzo0Pi00NDEBCwsLEA8QHRISGjMhISEzMzMzMzMzMzMzNTMxMzMzMzMzMzMzMTMzMTMzMzMzMzMzMzMzMzMzMzEzMzEzMzEzMf/AABEIANcA6gMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAABAgADBAUGB//EAD8QAAIBAgMEBgcFCAEFAAAAAAECAAMRBBIhBTFBURMiMmFxgQYjUnKRsbJCc6HB0RQkM2JjgqLw4TRDU5Lx/8QAGgEBAQADAQEAAAAAAAAAAAAAAAECAwUGBP/EAC8RAAIBAwMBBQcFAQAAAAAAAAABAgMRMQQSIUEyUWFxsQUTIoGRofAzQsHh8dH/2gAMAwEAAhEDEQA/APLZZaRBHgFa0QNRCF1ll4YAFWMUgBjEwCFbRcsOsMAQoDvA+EXJ3SwsIA0ArtJaWWnUwWwq1SxK9Gh+0+ht3Lv+UwqVIU1ebsjKMXJ2SuccCVsALk6DmdJu9J8N+xrSCtnernJZhlVQuXQKOPW4nhPMPUd95Ld3CSnVjOKnHDK4SUttuTRisaOygHexF/hMv7U9rZtL3tl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CSUAMEhkgGgNJmkkkIENCpgkgDXilpJJQAtN2w3tiaXvMPijCSSa636cvJ+hlT7cfNep9ALZAO/uEqapbfbXdof1kknlUjuDKO4QGpbh8LfpDJKgIHv8A6I+c8DJJDBGe3AfAfpKmq9w+EkkJAHS23AX8I6Hn8hJJKyD5gOH4SuuQRbTeOckkkchmamN8trsFpux+ypb4CGSbOqMOh8xonqr4RyZJJ6g4qBJJJBQyQSQiEkkklB//2Q==" style="width: 180px;">
<p><b>Kaos Greenlight</b></p>
<p > Rp150.000,-</p>
</div>
<div class="col">
<h3 style="color: black;"><b>Recommended Items</b></h3>
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQqT_wRyNFYYZHVXMZa3-m5QNAqE6DOSBsjRw&usqp=CAU" style="width: 160px;">
<p><b>Kaos Flava</b></p>
<p > Rp170.000,-</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="jarak">
<p>&copy Berkah Store 2021</p>
</div>
</footer>
</body>
</html>
view raw index.html hosted with ❤ by GitHub
@import url('https://fonts.googleapis.com/css2?family=Bonheur+Royale&display=swap');
body{
background: white;
color: #333;
width: 100%;
font-family: sans-serif;
margin: 0 auto;
height: 100%;
}
.jarak{
padding: 0 2pc;
}
.header{
width: 90%;
margin: auto;
height: 80px;
line-height: 3px;
background:white;
color: rgb(5, 89, 138);
text-align: center;
}
.header h2{
font-family: 'Bonheur Royale', cursive;
font-size: 50px;
}
.header h3{
font-size: 12px;
font-family: 'Lato', sans-serif;
}
.menu{
background-color: rgb(5, 89, 138);
height: 50px;
line-height: 40px;
position: relative;
width: 90%;
margin: 0 auto;
padding: 0 auto;
}
.menu ul{
list-style: none;
}
.menu ul li a{
float: left;
width:40px;
display: block;
font-size: 15px;
padding-left: 10rem;
margin-top: 5px;
font-family: 'Lato', sans-serif;
color:#fff;
text-decoration: none;
}
.menu ul li a:hover{
color: rgb(218, 204, 204);
display: block;
}
.content{
width: 90%;
margin: auto;
height: 1000px;
padding: 0.1px;
background: #fff;
color: #333;
font-family: 'Lato', sans-serif;
text-align: justify;
padding-right: 1rem;
padding-left: 1rem;
}
.content h2{
font-size: 30px;
}
.content h3{
margin-top: 30px;
margin-bottom: 30px;
font-size: 15px;
}
.content img{
width: 400px;
margin-left: 2px;
margin-right: 2rem;
}
.kiri{
width: 90%;
float: left;
margin: auto;
background:#fff;
height: 420px;
}
.kanan{
width: 80%;
float: right;
margin: auto;
background:#fff;
height: 420px;
}
/* .border{
border: 2px solid #000000;
margin-top: 1pc;
padding: 0 2pc 1pc 2pc;
} */
.undercor{
text-decoration: none;
color: black;
}
.row {
display: flex;
}
/* Create two equal columns that sits next to each other */
.col {
float: left;
padding: 10px;
/* height: 300px; */
}
.column {
float: left;
padding: 10px;
/* Should be removed. Only for demonstration */
}
.button {
font-family: 'Lato', sans-serif;
transition-duration: 0.4s;
border: 2px solid black;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 15px;
padding-right: 15px;
}
.button:hover {
background-color: rgb(5, 89, 138); /* Green */
color: white;
border: 2px solid black;
}
.buttons{
font-size: 15px;
margin-top: 20px;
/* padding-top: 2rem; */
padding: 10px 10rem;
font-family: 'Lato', sans-serif;
transition-duration: 0.4s;
border: 2px solid black;
}
.buttons:hover {
background-color: rgb(5, 89, 138); /* Green */
color: white;
border: 2px solid black;
}
footer{
width: 90%;
margin: auto;
height: 40px;
line-height: 40px;
background: rgb(5, 89, 138);
color: #fff;
position:relative;
font-family: 'Lato', sans-serif;
font-size: 15px;
text-align: center;
}
view raw style.css hosted with ❤ by GitHub
Sekian pemaparan untuk tugas kali ini, terima kasih. 

 -han

Komentar

Postingan populer dari blog ini

Tugas 1 MPPL-A

Evaluasi Akhir Semester RK D

Evaluasi Tengah Semester RK D