Skip to content
This repository was archived by the owner on Sep 18, 2020. 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
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
- ![smaller screens](screenshots/cookie-store-mobile-screen.png)
4. Using only bootstrap styles, and not moving any html tags, make the cookie products alternate as follows on larger screens:
- ![larger screens](screenshots/cookie-store-large-screen-alt.png)
- _Hint:_ Look into the push and pull classes
- *Clarifications*
+ _Don't_ change the order of the 3 main cookie html tags, the `h3`, followed by the `p`, and then the `img` tags. _Remember, we want to keep semantic order._
+ You can add `div`'s and bootstrap classes as needed, you can wrap any tags in divs as needed, as long as you don't change the order.
- _Hint:_ Look into the push and pull classes

## Project 2: Build a personal (professional) web page for yourself

Expand Down
70 changes: 70 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,71 @@


.col-centered{
float: none;
margin: 0 auto;
}


.banner {
background: url("../img/milkbg.jpg") no-repeat center;
background-size: cover;
margin: 0;
}

.title{
color: white;
background-color: rgba(0, 0, 0, 0.6);
margin: 10% 25%;
padding: 50px 20px 50px 20px ;
/*float: none;*/
}

.about{
background-color: rgb(195, 198, 204);
margin-top: 20px;
}

.contact{
background-color: rgb(64, 156, 206);
color: white;
}


.cookie{
border-radius: 100%;
height : auto;
margin: auto;
}

.about, .contact{
font-size: 1.4em;
padding: 20px;
padding-bottom: 40px;
}

.title h1{
font-size: 80px;
}

.title p {
font-size: 27px;
}

.btn{
font-weight: 600;
padding:1% 2%;
}

.btn-h3{
display: inline-block;
margin:0;
}

.cookies{
margin-top: 25px;
}

.my-nav-bar{
color: white;
background-color: rgba(0, 0, 0, 0.6);
}
162 changes: 134 additions & 28 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,47 +1,153 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Cookie Store</title>
</head>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/styles.css">

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

<div class="container banner">
<div class="row">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 text-left my-nav-bar">
<a href="#">index1.html</a> | <a href="#">index2.html</a> | <a href="#">index5.html
</a> | <a href="#">index13.html</a> | <a href="#">index4.html</a>
</div>
</div>
</div>
</div>
<div class="row">

<div class="col-lg-12">
<div class="container">
<div class="row">
<div class="col-lg-6 title">
<h1>Cookie Store</h1>
<p>Buy our awesome cookies. All proceeds go to charity!</p>

</div>
</div>
</div>

</div>

</div>

</div>

<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2>The Cookies</h2>
</div>
</div>
</div>

<div class="container text-center">

<h1>Cookie Store</h1>
<div class="row cookies">

<p>Buy our awesome cookies. All proceeds go to charity!</p>
<div class="col-lg-12 col-md-3 col-sm-12">
<div class="row">
<div class="col-lg-4 col-lg-push-4">
<h3 class="btn-h3"> Thin Mint Cookies</h3>
<button class="btn btn-sm btn-danger" type="button" name="button">NEW</button>
<p>Tasty mint chocolate cookies</p>
</div>
<div class="col-lg-4 col-lg-push-4">
<img class="img-responsive cookie" src="img/mint.png">
</div>
</div>
</div>

<h2>The Cookies</h2>
<div class="col-lg-12 col-md-3 col-sm-12">
<div class="row">
<div class="col-lg-4 col-lg-push-4">
<h3>Peanut Butter Cookies</h3>
<p>Yummy peanut buttery goodness!</p>
</div>
<div class="col-lg-4 col-lg-pull-4">
<img class="img-responsive cookie" src="img/peanut.png">
</div>
</div>
</div>

<h3>Thin Mint Cookies</h3>
<p>Tasty mint chocolate cookies</p>
<img src="img/mint.png">
<div class="col-lg-12 col-md-3 col-sm-12">
<div class="row">
<div class="col-lg-4 col-lg-push-4">
<h3>Short Bread Cookies</h3>
<p>Santa's favorite classic.</p>
</div>
<div class="col-lg-4 col-lg-push-4">
<img class=" img-responsive cookie" src="img/shortbread.png">
</div>
</div>
</div>

<h3>Peanut Butter Cookies</h3>
<p>Yummy peanut buttery goodness!</p>
<img src="img/peanut.png">
<div class="col-lg-12 col-md-3 col-sm-12">
<div class="row">
<div class="col-lg-4 col-lg-push-4">
<h3>Smore's Cookies</h3>
<p>Camp fire favorite!</p>
</div>
<div class="col-lg-4 col-lg-pull-4">
<img class=" img-responsive cookie" src="img/smores.png"></div>
</div>
</div>

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

<h3>Smore's Cookies</h3>
<p>Camp fire favorite!</p>
<img src="img/smores.png">
</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 class="container about">
<div class="row">
<div class="col-lg-12 text-center">
<h2>About us</h2>
</div>
</div>

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

<div class="col-lg-12">
<div class="row">


<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
<img class="img-responsive" src="img/cmonster.png" alt="">
</div>

<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9 text-left ">
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.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>

<div class="container contact">
<div class="row">
<div class="col-lg-12 text-center">
<h2>Contact us</h2>
<div>
100 Broadway Avenue,<br> New York, NY 10001 <br> (212) 555-1234
</div>
</div>
</div>
</div>

</div>
</body>

</html>