-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daren Morreale
committed
Dec 5, 2024
1 parent
9f679ee
commit b6e875e
Showing
4 changed files
with
123 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Grocery List</title> | ||
<link rel="stylesheet" href="styles/styles.css" /> | ||
<style> | ||
body { | ||
background: #f7f7f7; | ||
padding: 150px; | ||
font-family: Arial, sans-serif; | ||
font-weight: 400; | ||
} | ||
h1, | ||
h2, | ||
h3, | ||
h4 { | ||
font-weight: 600; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<header> | ||
<h1 style="color: #108efe; font-size: 2.5em; text-align: center"> | ||
My Very Organized Grocery List | ||
</h1> | ||
</header> | ||
<section class="section-wrapper"> | ||
<h2 class="category-title">Pantry Items</h2> | ||
<div class="items-wrapper"> | ||
<div class="item"> | ||
<h3 class="item-title">Canned</h3> | ||
<ul style="list-style-type: square"> | ||
<li>Corn</li> | ||
<li>Tuna</li> | ||
<li>Green Beans</li> | ||
<li>Beans</li> | ||
</ul> | ||
</div> | ||
<div class="item"> | ||
<h3 class="item-title">Dry Goods</h3> | ||
<ul style="list-style-type: circle"> | ||
<li>Rice</li> | ||
<li>Lentils</li> | ||
<li>Oats</li> | ||
<li>Pancake Mix</li> | ||
</ul> | ||
</div> | ||
<img | ||
class="item-image" | ||
src="images/Westside_Market_in_Manhattan.JPG" | ||
alt="Pantry Items" | ||
class="item-image" | ||
/> | ||
</div> | ||
</section> | ||
|
||
<section class="section-wrapper"> | ||
<h2 class="category-title" style="color:red; background:rgb(201, 255, 246);">Freezer Items</h2> | ||
<div class="items-wrapper"> | ||
<div class="item"> | ||
<h3 class="item-title">Veggies</h3> | ||
<ul style="list-style-type: upper-latin"> | ||
<li>Broccoli</li> | ||
<li>Carrots</li> | ||
<li>Cauliflower</li> | ||
<li>Bell Peppers</li> | ||
</ul> | ||
</div> | ||
<div class="item"> | ||
<h3 class="item-title">Snacks</h3> | ||
<ol> | ||
<li>Chicken Nuggets</li> | ||
<li>Hot Pockets</li> | ||
<li>Fries</li> | ||
<li>Tator Tots</li> | ||
</ol> | ||
</div> | ||
<img | ||
class="item-image" | ||
src="images/Snackbar.jpg" | ||
alt="Pantry Items" | ||
class="item-image" | ||
/> | ||
</div> | ||
</section> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.section-wrapper { | ||
width: 50%; | ||
padding: 50px; | ||
background: #97dea3; | ||
margin: 20px auto; | ||
border: 2px solid #108efe; | ||
} | ||
|
||
.category-title { | ||
padding: 20px; | ||
background-color: #f5ffbd; | ||
text-transform: uppercase; | ||
font-weight: 900; | ||
text-align: center; | ||
border-bottom: 2px solid #108efe; | ||
border-top: 2px solid #108efe; | ||
} | ||
.items-wrapper { | ||
display: flex; | ||
gap: 20px; | ||
} | ||
.item { | ||
background: #ffeeff; | ||
padding: 5px 20px; | ||
width: 33%; | ||
min-height: 100%; | ||
} | ||
.item-title { | ||
text-transform: uppercase; | ||
} | ||
.item-image { | ||
object-fit: cover; | ||
width: 33%; | ||
} |