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
58 changes: 44 additions & 14 deletions alternating.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,58 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./css/styles.css"/>
<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>
<main>
<h2>Our Cookies</h2>
<p>Checkout our latest and delicious cookies.</p>
<div class="container text-center">
<h2 class="slightly-bold mt-5">Our Cookies</h2>
<p class="mb-5">Checkout our latest and delicious cookies.</p>

<div class ="row dflex align-items-center">
<div class ="col-sm-12 col-md-6 order-md-last">
<h3 class="slightly-bold">Mint Chocolate</h3>
<p>Tasty mint chocolate cookies</p>
</div>
<div class = "col-sm-12 col-md-6">
<img src="images/mint-cookie.png" class="rounded-circle img-fluid" alt="A single mint chocolate cookie" />
</div>
</div>

<h3>Mint Chocolate</h3>
<p>Tasty mint chocolate cookies</p>
<img src="images/mint-cookie.png" alt="A single mint chocolate cookie" />
<div class ="row dflex align-items-center">
<div class = "col-sm-12 col-md-6">
<h3 class="slightly-bold">Peanut Butter</h3>
<p>Yummy peanut buttery goodness</p>
</div>
<div class ="col-sm-12 col-md-6">
<img src="images/peanut-cookie.png" class="rounded-circle img-fluid" alt="A single peanut butter cookie" />
</div>
</div>

<h3>Peanut Butter</h3>
<p>Yummy peanut buttery goodness</p>
<img src="images/peanut-cookie.png" alt="A single peanut butter cookie" />
<div class ="row dflex align-items-center">
<div class ="col-sm-12 col-md-6 order-md-last">
<h3 class="slightly-bold">Oatmeal</h3>
<p>Your fitness instructors favorite</p>
</div>
<div class = "col-sm-12 col-md-6">
<img src="images/oatmeal-cookie.png" class="rounded-circle img-fluid" alt="A single oatmeal cookie" />
</div>
</div>

<h3>Oatmeal</h3>
<p>Your fitness instructors favorite</p>
<img src="images/oatmeal-cookie.png" alt="A single oatmeal cookie" />
<div class ="row dflex align-items-center">
<div class = "col-sm-12 col-md-6">
<h3 class="slightly-bold">Chocolate Chip</h3>
<p>Gooey chocolate you'll love</p>
</div>
<div class ="col-sm-12 col-md-6">
<img src="images/chip-cookie.png" class="rounded-circle img-fluid" alt="A single chocolate chip cookie" />
</div>
</div>

<h3>Chocolate Chip</h3>
<p>Gooey chocolate you'll love</p>
<img src="images/chip-cookie.png" alt="A single chocolate chip cookie" />
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
</body>
</html>
29 changes: 29 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,30 @@
/* Add custom css styles here */
header {
height: 450px;
background-size: cover;
background-repeat: no-repeat;
background-image: url('../images/coffee-biscuits.jpg'); /* Path to your image */
}
footer {
background-color: #056dfd;
color: white;
}
#About-us {
background-color: #f8f9fa;
}

.slightly-bold{
font-weight: 550;
}

.intro{
display: grid;
place-items: center;
color: white;
max-width: 800px;
background-color: #1a2424bb;
border-radius: 15px;
padding: 20px;
box-shadow: #00000044;
margin: 0 auto;
}
96 changes: 59 additions & 37 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,54 +4,76 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cookie Store</title>
<link rel="stylesheet" href="./css/styles.css"/>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
</head>
<body>
<header>
<h1>Cookie Store</h1>
<p>Buy our awesome cookies. All proceeds go to charity!</p>
<header class="container-fluid mb-4 d-flex justify-content-center align-items-center">
<div class="intro">
<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" />
<div class="container text-center mb-4">
<h2 class="slightly-bold">Our Cookies</h2>
<p>Checkout our latest and delicious cookies.</p>
</div>
<div class="container text-center mb-4">
<div class="row g-3">
<div class="col-lg-3 col-xm-12 col-sm-12 col-md-6">
<h3>Mint Chocolate</h3>
<p>Tasty mint chocolate cookies</p>
<img src="images/mint-cookie.png" class="rounded-circle img-fluid" alt="A single mint chocolate cookie" />
</div>
<div class="col-lg-3 col-xm-12 col-sm-12 col-md-6">
<h3>Peanut Butter</h3>
<p>Yummy peanut buttery goodness</p>
<img src="images/peanut-cookie.png" class="rounded-circle img-fluid" alt="A single peanut butter cookie" />
</div>
<div class="col-lg-3 col-xm-12 col-sm-12 col-md-6">
<h3>Oatmeal</h3>
<p>Your fitness instructors favorite treat</p>
<img src="images/oatmeal-cookie.png" class="rounded-circle img-fluid"alt="A single oatmeal cookie" />
</div>
<div class="col-lg-3 col-xm-12 col-sm-12 col-md-6">
<h3>Chocolate Chip</h3>
<p>Gooey chocolate you'll love</p>
<img src="images/chip-cookie.png" class="rounded-circle img-fluid" alt="A single chocolate chip cookie" />
</div>
</div>
</div>

</main>
<div>
<h2>About us</h2>
<div class="container-fluid p-5" id="About-us">
<h2 class="container text-center">About us</h2>
<div class="row">
<div class="col-2">
<img src="images/bakers.svg" class="rounded-circle img-fluid" alt="illustrations of two people baking" />
</div>

<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.
<div class ='col-10 '>
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.
</div>
</div>
</div>
<footer>
<h2>Contact us</h2>
<div>
100 Broadway Avenue,<br />
New York, NY 10001 <br />
(212) 555-1234
<div class="container-fluid text-center p-5">
<h2>Contact us</h2>
<div>
100 Broadway Avenue,<br />
New York, NY 10001 <br />
(212) 555-1234
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
</body>
</html>