Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Section: Friday, 6:30-9pm #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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: 45 additions & 15 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>
<main class="container">
<h2 class="text-center my-4">Our Cookies</h2>
<p class="text-center mb-4">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" />
<!-- Cookie 1 -->
<div class="row mb-4">
<div class="col-12 col-md-6 d-flex justify-content-center align-items-center order-md-2">
<img src="images/mint-cookie.png" alt="A single mint chocolate cookie" class="img-fluid" />
</div>
<div class="col-12 col-md-6 d-flex flex-column justify-content-center order-md-1">
<h3>Mint Chocolate</h3>
<p>Tasty mint chocolate cookies</p>
</div>
</div>

<h3>Peanut Butter</h3>
<p>Yummy peanut buttery goodness</p>
<img src="images/peanut-cookie.png" alt="A single peanut butter cookie" />
<!-- Cookie 2 -->
<div class="row mb-4">
<div class="col-12 col-md-6 d-flex flex-column justify-content-center order-md-2">
<h3>Peanut Butter</h3>
<p>Yummy peanut buttery goodness</p>
</div>
<div class="col-12 col-md-6 d-flex justify-content-center align-items-center order-md-1">
<img src="images/peanut-cookie.png" alt="A single peanut butter cookie" class="img-fluid" />
</div>
</div>

<h3>Oatmeal</h3>
<p>Your fitness instructors favorite</p>
<img src="images/oatmeal-cookie.png" alt="A single oatmeal cookie" />
<!-- Cookie 3 -->
<div class="row mb-4">
<div class="col-12 col-md-6 d-flex justify-content-center align-items-center order-md-2">
<img src="images/oatmeal-cookie.png" alt="A single oatmeal cookie" class="img-fluid" />
</div>
<div class="col-12 col-md-6 d-flex flex-column justify-content-center order-md-1">
<h3>Oatmeal</h3>
<p>Your fitness instructor's favorite</p>
</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" />
<!-- Cookie 4 -->
<div class="row mb-4">
<div class="col-12 col-md-6 d-flex flex-column justify-content-center order-md-2">
<h3>Chocolate Chip</h3>
<p>Gooey chocolate you'll love</p>
</div>
<div class="col-12 col-md-6 d-flex justify-content-center align-items-center order-md-1">
<img src="images/chip-cookie.png" alt="A single chocolate chip cookie" class="img-fluid" />
</div>
</div>
</main>
</body>
</html>
70 changes: 70 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,71 @@
/* Add custom css styles here */

.header{
height: 400px;
background-image: url('/images/coffee-biscuits.jpg');
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: white;
font-size: 1.2em;
}

.header-text{
background: rgba(0, 0, 0, 0.5);
padding: 50px;
border-radius: 10px;
}

.container {
margin: 50px;

}

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

.about-us {
margin: 50px 0;
}

.about-us h2 {
text-align: center;
margin-bottom: 30px;
}


.about-us p {
font-size: 1.1rem;
line-height: 1.6;
text-align: justify;
}


.about-img {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
}


.footer {
background-color:#0b74e3;
color: white;
padding: 30px 0;
}

.footer h2 {
color: #fff;
font-size: 1.9rem;
}

.footer p {
margin: 20px;
}


71 changes: 53 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,66 @@
<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>
<header>

<header class="header">
<div class="header-text">
<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" />
<div class ="row">

<div class="col-12 col-md-6 col-lg-3">
<h3>Mint Chocolate</h3>
<p>Tasty mint chocolate cookies</p>
<img src="images/mint-cookie.png" alt="A single mint chocolate cookie" class="img-fluid"/>
</div>

<div class="col-12 col-md-6 col-lg-3">
<h3>Peanut Butter</h3>
<p>Yummy peanut buttery goodness</p>
<img src="images/peanut-cookie.png" alt="A single peanut butter cookie" class="img-fluid"/>
</div>

<div class="col-12 col-md-6 col-lg-3">
<h3>Oatmeal</h3>
<p>Your fitness instructors favorite</p>
<img src="images/oatmeal-cookie.png" alt="A single oatmeal cookie" class="img-fluid"/>
</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="col-12 col-md-6 col-lg-3">
<h3>Chocolate Chip</h3>
<p>Gooey chocolate you'll love</p>
<img src="images/chip-cookie.png" alt="A single chocolate chip cookie" class="img-fluid"/>
</div>

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

<h3>Chocolate Chip</h3>
<p>Gooey chocolate you'll love</p>
<img src="images/chip-cookie.png" alt="A single chocolate chip cookie" />
</main>
<div>


<div class="about-us container">
<h2>About us</h2>

<img src="images/bakers.svg" alt="illustrations of two people baking" />
<div>
<div class="row align-items-center">

<div class="col-3 text-center p-0">
<img src="images/bakers.svg" alt="illustrations of two people baking" class="img-fluid about-img" />
</div>

<div class="col-9 p-0">
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
Expand All @@ -45,13 +72,21 @@ <h2>About us</h2>
mollit anim id est laborum.
</div>
</div>
<footer>
</div>

<footer class="footer">
<div class="container text-center">

<h2>Contact us</h2>
<div>
100 Broadway Avenue,<br />
New York, NY 10001 <br />
(212) 555-1234
</div>

</div>
</footer>


</body>
</html>
Loading