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
60 changes: 44 additions & 16 deletions alternating.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,55 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cookie Store</title>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
</head>
<body>
<main>
<main class="container text-center">
<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="row row-cols-sm-1 row-cols-md-2 row-cols-lg-4">
<div class="col order-md-4">
<h3>Mint Chocolate</h3>
<p>Tasty mint chocolate cookies</p>
<img
src="images/mint-cookie.png"
alt="A single mint chocolate cookie"
/>
</div>
<div class="col order-md-3">
<h3>Peanut Butter</h3>
<p>Yummy peanut buttery goodness</p>
<img
src="images/peanut-cookie.png"
alt="A single peanut butter cookie"
/>
</div>
<div class="col order-md-2">
<h3>Oatmeal</h3>
<p>Your fitness instructors favorite</p>
<img src="images/oatmeal-cookie.png" alt="A single oatmeal cookie" />
</div>
<div class="col order-md-1 ">
<h3>Chocolate Chip</h3>
<p>Gooey chocolate you'll love</p>
<img
src="images/chip-cookie.png"
alt="A single chocolate chip cookie"
/>
</div>
</div>
</main>

<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"
></script>
</body>
</html>
50 changes: 50 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,51 @@
/* Add custom css styles here */
header {
height: 400px;
background-size:cover;
background-image: url('../images/coffee-biscuits.jpg');
background-position: center;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

.title {
background-color: #000000a0;
color: #fff;
text-align: center;
padding: 2rem 4rem;
border-radius: 12px;
}

.about-us {
display: flex;
flex-direction: column;
text-align: center;
padding: 20px 50px;
background-color: #00000010;
}

.about-us-content {
display: flex;
justify-content: center;
align-items: center;
max-height: 400px;
}

.about-us-content img {
width: 300px;
height: 300px;
}

footer {
background-color: #0000ff;
color: white;
padding: 20px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;

}
91 changes: 62 additions & 29 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,72 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cookie Store</title>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./css/styles.css" />
</head>
<body>
<header>
<h1>Cookie Store</h1>
<p>Buy our awesome cookies. All proceeds go to charity!</p>
<div class="title">
<h1>Cookie Store</h1>
<p>Buy our awesome cookies. All proceeds go to charity!</p>
</div>
</header>

<main>
<main class="container text-center">
<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="row row-cols-sm-1 row-cols-md-2 row-cols-lg-4">
<div class="col">
<h3>Mint Chocolate</h3>
<p>Tasty mint chocolate cookies</p>
<img
src="images/mint-cookie.png"
alt="A single mint chocolate cookie"
/>
</div>
<div class="col">
<h3>Peanut Butter</h3>
<p>Yummy peanut buttery goodness</p>
<img
src="images/peanut-cookie.png"
alt="A single peanut butter cookie"
/>
</div>
<div class="col">
<h3>Oatmeal</h3>
<p>Your fitness instructors favorite</p>
<img src="images/oatmeal-cookie.png" alt="A single oatmeal cookie" />
</div>
<div class="col">
<h3>Chocolate Chip</h3>
<p>Gooey chocolate you'll love</p>
<img
src="images/chip-cookie.png"
alt="A single chocolate chip cookie"
/>
</div>
</div>
</main>
<div>

<div class="about-us">
<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.
<div class="about-us-content">
<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>
</div>
</div>
<footer>
Expand All @@ -53,5 +80,11 @@ <h2>Contact us</h2>
(212) 555-1234
</div>
</footer>

<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"
></script>
</body>
</html>