Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 49 additions & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,49 @@
/* Add custom css styles here */
.header {
position: relative;
height: 400px;
color: white;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.header-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
.header-content{
background-color: rgba(22, 18, 18, 0.383);
border-radius: 10%;
}

.header-content {
text-align: center;
}

.img-fluid{
border-radius: 50%;
}


.about-us {
margin-top: 40px;
background-color: #babdcf;
}

.about-us img {
max-width: 50%;
height: auto;
}

.footer h2 {
background-color: #1931a7;
color: white;
padding: 20px 0;
text-align: center;
}

82 changes: 46 additions & 36 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,52 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/styles.css" type="text/css" rel="stylesheet">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<title>Cookie Store</title>
</head>
<body>
<header>
<h1>Cookie Store</h1>
<p>Buy our awesome cookies. All proceeds go to charity!</p>
<header class="header">
<img src="images/coffee-biscuits.jpg" alt="Coffee biscuits" class="header-img" />
<div class="header-content">
<h1>Cookie Store</h1>
<p>Buy our awesome cookies. All proceeds go to charity!</p>
</div>
</header>

<main>
<h2>Our Cookies</h2>
<p>Checkout our latest and delicious cookies.</p>

<h3>Mint Chocolate</h3>
<p>Tasty mint chocolate cookies</p>
<img src="images/mint-cookie.png" alt="A single mint chocolate cookie" />

<h3>Peanut Butter</h3>
<p>Yummy peanut buttery goodness</p>
<img src="images/peanut-cookie.png" alt="A single peanut butter cookie" />

<h3>Oatmeal</h3>
<p>Your fitness instructors favorite</p>
<img src="images/oatmeal-cookie.png" alt="A single oatmeal cookie" />

<h3>Chocolate Chip</h3>
<p>Gooey chocolate you'll love</p>
<img src="images/chip-cookie.png" alt="A single chocolate chip cookie" />
<main class="container mt-4">
<h2 class="text-center">Our Cookies</h2>
<p class="text-center">Checkout our latest and delicious cookies.</p>
<div class="row">
<div class="col-12 col-md-6 col-lg-3 mb-4">
<h3>Mint Chocolate</h3>
<p>Tasty mint chocolate cookies</p>
<img src="images/mint-cookie.png" alt="Tasty mint chocolate cookies" class="img-fluid" />
</div>
<div class="col-12 col-md-6 col-lg-3 mb-4">
<h3>Peanut Butter</h3>
<p>Yummy peanut buttery goodness</p>
<img src="images/peanut-cookie.png" alt="Yummy peanut buttery goodness" class="img-fluid" />
</div>
<div class="col-12 col-md-6 col-lg-3 mb-4">
<h3>Oatmeal</h3>
<p>Your fitness instructor's favorite</p>
<img src="images/oatmeal-cookie.png" alt="Your fitness instructor's favorite" class="img-fluid" />
</div>
<div class="col-12 col-md-6 col-lg-3 mb-4">
<h3>Chocolate Chip</h3>
<p>Gooey chocolate you'll love</p>
<img src="images/chip-cookie.png" alt="Gooey chocolate you'll love" class="img-fluid" />
</div>
</div>
</main>
<div>
<h2>About us</h2>

<img src="images/bakers.svg" alt="illustrations of two people baking" />
<div>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.
<section class="about-us container mt-4">
<h2 class="text-center">About Us</h2>
<div class="row">
<div class="col-md-6">
<img src="images/bakers.svg" alt="Illustrations of two people baking" class="img-fluid" />
</div>
<div class="col-md-6">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</div>
</div>
<footer>
<h2>Contact us</h2>
</section>

<footer class="footer bg-light text-center py-4">
<h2>Contact Us</h2>
<div>
100 Broadway Avenue,<br />
New York, NY 10001 <br />
Expand Down