Skip to content
This repository was archived by the owner on Aug 26, 2022. It is now read-only.
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
69 changes: 69 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,70 @@
* {
font-family: 'Montserrat', sans-serif;
}

.cookie-img {
display: block;
border-radius: 50%;
margin: 0 auto;
}

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

.hero-wrapper {
background-image: url('../img/milkbg.jpg');
background-repeat: no-repeat;
background-size: cover;
height: 100vh;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
/* background-position: center; */
}

.hero-content {
color: white;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
background: rgba(0, 0, 0, 0.8);
height: 350px;
width: 600px;
}

.hero-content p {
font-size: 1.1rem;
font-weight: bold;
}

.hero-content h1 {
font-size: 5rem;
}

.about-us-section {
display: flex;
background: lightgray;
padding: 1rem;
/* align-items: center; */
/* justify-content: center; */
}

.about-us-text {
/* display: flex;
flex-direction: column;
align-items: center; */
display: inline-block;
}

/* .about-us-text div {
width: 80%;
} */

.contact-us-section {
background: #028ccb;
color: white;
padding: 1rem;
}
137 changes: 96 additions & 41 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,47 +1,102 @@
<!DOCTYPE html>
<html>
<head>
<title>Cookie Store</title>
</head>
<body>
<head>
<title>Cookie Store</title>
<link rel="stylesheet" href="./css/styles.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"
crossorigin="anonymous"
/>
<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=Montserrat&display=swap" rel="stylesheet">
</head>
<body>
<div class="hero-wrapper">
<div class="hero-content">
<h1 class="center-text">Cookie Store</h1>

<p class="center-text">
Buy our awesome cookies. All proceeds go to charity!
</p>
</div>
</div>

<h1>Cookie Store</h1>
<!-- <div class="container">
<div class="row" style="margin-top: 5rem; margin-bottom: 5rem;">
<div class="col order-last">
<h3 class="text-center">Peanut Butter Cookies</h3>
<p class="text-center">Yummy peanut buttery goodness!</p>
</div>
<img class="imageBorder" src="img/peanut.png" />
</div>
</div>-->
<h2 class="center-text">The Cookies</h2>
<div class="row" class="center-text">
<div class="col">
<div class="container" style="margin: 5rem;">
<div class="row" style="margin-top: 5rem; margin-bottom: 5rem;">
<div class="col">
<h3 class="center-text">Thin Mint Cookies <span style="color: white;"class="badge bg-danger">NEW</span></h3>
<p class="center-text">Tasty mint chocolate cookies</p>
</div>
<img class="cookie-img" src="img/mint.png" />
</div>
</div>
<div class="container" style="margin: 5rem;">
<div class="row" style="margin-top: 5rem; margin-bottom: 5rem;">
<div class="col order-last">
<h3 class="center-text">Peanut Butter Cookies</h3>
<p class="center-text">Yummy peanut buttery goodness!</p>
</div>
<img class="cookie-img" src="img/peanut.png" />
</div>
</div>
<div class="container" style="margin: 5rem;">
<div class="row" style="margin-top: 5rem; margin-bottom: 5rem;">
<div class="col">
<h3 class="center-text">Short Bread Cookies</h3>
<p class="center-text">Santa's favorite classic.</p>
</div>
<img class="cookie-img" src="img/shortbread.png" />
</div>
</div>
<div class="container" style="margin: 5rem;">
<div class="row" style="margin-top: 5rem; margin-bottom: 5rem;">
<div class="col order-last">
<h3 class="center-text">Smore's Cookies</h3>
<p class="center-text">Camp fire favorite!</p>
</div>
<img class="cookie-img" src="img/smores.png" />
</div>
</div>
</div>
</div>
<div class="about-us-section">
<img src="img/cmonster.png" alt="cookie monster" />
<div class="about-us-text">
<h2 class="center-text">About us</h2>
<div class="center-text">
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>

<p>Buy our awesome cookies. All proceeds go to charity!</p>

<h2>The Cookies</h2>

<h3>Thin Mint Cookies</h3>
<p>Tasty mint chocolate cookies</p>
<img src="img/mint.png">

<h3>Peanut Butter Cookies</h3>
<p>Yummy peanut buttery goodness!</p>
<img src="img/peanut.png">

<h3>Short Bread Cookies</h3>
<p>Santa's favorite classic.</p>
<img src="img/shortbread.png">

<h3>Smore's Cookies</h3>
<p>Camp fire favorite!</p>
<img src="img/smores.png">

<h2>About us</h2>
<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>

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

</body>
<div class="contact-us-section">
<h2 class="center-text">Contact us</h2>
<div class="center-text">
100 Broadway Avenue,<br />
New York, NY 10001 <br />
(212) 555-1234
</div>
</div>
</body>
</html>