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
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [



{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8000",
"webRoot": "${workspaceFolder}"
}
]
}
68 changes: 68 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,69 @@
.header-content {
margin-bottom: 70px;
position:relative;
}

.innerbox {
background-color: black;
text-align: center;
opacity: 0.7;
height: 30%;
width: 35%;
min-height: 205px;
min-width: 150px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: absolute;
border-radius: 5px;
padding-top: 5%;
}
.The-Cookies{
text-align: center;
padding-bottom: 10px;
}
.Title {
text-align: center;
}
.Buy {
text-align: center;
}


.wrapper {
max-width:2560px;
margin:0 auto;
}

.ContactUs{
height:200px;

background-color:#2596be;
}
.ContactUsTitle{
padding-top:20px;
}
/* .Paragraph{ } */
.AboutUs {
height:240px;
background-color:lightgray;
}

.AboutUsTitle{
padding-top:10px;
}

@media only screen and (max-width: 992px) {
.order {
margin: 10px;
padding: 10px;
flex-direction: row;
display: flex;
}
.item1 {
order: 2;
}
.item2 {
order: 1;
}
}
137 changes: 104 additions & 33 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,47 +1,118 @@
<!-- Problems I am having
1) I don't understand how to order the-->

<!DOCTYPE html>
<html>
<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">
</head>
<body>
<div class="wrapper">
<header>
<div class="container-fluid header-content">
<nav>
<a href="index.html">index.html</a>|
<a href="#">index1.html</a>|
<a href="#">index2.html</a>|
<a href="#">index3.html</a>|
<a href="#">index4.html</a>|
<a href="#">index5.html</a>
</nav>
<img class="card-img" class="img-responsive position-relative " src="img\milkbg.jpg" alt="card image">
<div class="innerbox text-white ">
<h1 class="Title">Cookie Store</h1>
<p class="Buy">Buy our awesome cookies. All proceeds go to charity!</p>
</div>
</div>
</header>

<main>


<!-- start of cookies -->
<div class="container-fluid cookies">
<h2 class="The-Cookies text-center">The Cookies</h2>

<div class="row justify-content-around">

<div class="col-lg-3 order">
<div class="item1">
<h3>Thin Mint Cookies <span class="badge badge-danger">new</span></h3>
<p>Tasty mint chocolate cookies</p>
</div>
<div class="item2">
<img class="rounded-circle img-fluid" src="img/mint.png">
</div>
</div>

<h1>Cookie Store</h1>

<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">
<div class="col-lg-3 order">
<div class="item1">
<h3>Peanut Butter Cookies</h3>
<p>Yummy peanut buttery goodness!</p>
</div>
<div class="item2">
<img class="rounded-circle img-fluid" src="img/peanut.png">
</div>
</div>

<div class="col-lg-3 order">
<div class="item1">
<h3>Short Bread Cookies</h3>
<p>Santa's favorite classic.</p>
</div>
<div class="item2">
<img class="rounded-circle img-fluid" src="img/shortbread.png">
</div>
</div>

<h3>Smore's Cookies</h3>
<p>Camp fire favorite!</p>
<img src="img/smores.png">
<div class="col-lg-3 order">
<div class="item1 ">
<h3>Smore's Cookies</h3>
<p>Camp fire favorite!</p>
</div>
<div class="item2">
<img class="rounded-circle img-fluid"src="img/smores.png">
</div>
</div>

<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>
</div>
</div>

<h2>Contact us</h2>
<div>
100 Broadway Avenue,<br>
New York, NY 10001 <br>
(212) 555-1234
</div>
</main>
<!-- try row and columns for image and about section -->
<footer class="container-fluid footer">
<div class="AboutUs text-center text-black">
<div class="row">
<div class="col-3 order-1">
<img src="img/cmonster.png">
</div>
<div class="col-9 order-2">
<h2 class="AboutUsTitle">About us</h2>
<div class="Paragraph">
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>
</div>


<div class="ContactUs text-white text-center padding-top:2">
<h2 class="ContactUsTitle">Contact us</h2>
<div class="AddressContent">
100 Broadway Avenue,<br>
New York, NY 10001 <br>
(212) 555-1234
</div>
</div>
</footer>
</div>

</body>
</html>