Skip to content
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
Binary file added .DS_Store
Binary file not shown.
69 changes: 47 additions & 22 deletions apple-pie/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,62 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./styles/style.css"/>
<title>Apple Pie Recipe</title>
<!-- Remember to link your styles -->
</head>
<body>
Apple Pie
<section class ="header-container">
<h1>Apple Pie</h1>
</section>

This was my grandmother's apple pie recipe. I have never seen another one quite like it. It will always
<div> </div>

<!-- Intro -->
<section>
<h2> This was my grandmother's apple pie recipe. I have never seen another one quite like it. It will always
be my favorite and has won me several first place prizes in local competitions. I hope it becomes one of your
favorites as well!

Ingredients
favorites as well! </h2>
</section>
<!-- Recipe info -->
<img alt="Recipe info" src= "../apple-pie/images/recipe-info.png"/>

1 recipe pastry for a 9 inch double crust pie
1/2 cup unsalted butter
3 tablespoons all-purpose flour
1/4 cup water
3 tablespoons all-purpose flour
1/4 cup water 1/2 cup white sugar
1/2 cup packed brown sugar
8 Granny Smith apples - peeled, cored and sliced
<div class="separator-bar"></div>

Directions

Preheat oven to 425 degrees F (220 degrees C).Melt the butter in a saucepan. Stir in flour to form a paste. Add water, white sugar and brown sugar, and bring
to a boil. Reduce temperature and let simmer.
<section>
<h3>Ingredients</h3>
<ol class="ingredients-list">
<li>1 recipe pastry for a 9 inch double crust pie e</li>
<li>1/2 cup unsalted butter</li>
<li>3 tablespoons all-purpose flour</li>
<li>1/4 cup water</li>
<li>3 tablespoons all-purpose flour</li>
<li>1/4 cup water 1/2 cup white sugar</li>
<li>1/2 cup packed brown sugar</li>
<li>8 Granny Smith apples - peeled, cored and sliced</li>
</ol>
<img alt="Cooking info" src= "../apple-pie/images/cooking-info.png"/>
</section>

<div class="separator-bar"></div>

Place the bottom crust in your pan. Fill with apples, mounded
<section>
<h3>Directions</h3>
<ol class="directions-list">
<li>Preheat oven to 425 degrees F (220 degrees C).Melt the butter in a saucepan. Stir in flour to form a paste. Add water, white sugar and brown sugar, and bring
to a boil. Reduce temperature and let simmer. </li>
<li>Place the bottom crust in your pan. Fill with apples, mounded
slightly. Cover with a lattice work crust. Gently pour the sugar and butter liquid over the crust. Pour slowly so
that it does not run off.

Bake 15 minutes in the preheated oven. Reduce the temperature to 350 degrees F (175
degrees C). Continue baking for 35 to 45 minutes, until apples are soft.
that it does not run off.</li>
<li>Place the bottom crust in your pan. Fill with apples, mounded
slightly. Cover with a lattice work crust. Gently pour the sugar and butter liquid over the crust. Pour slowly so
that it does not run off.</li>
<li>1/4 cup water</li>
<li>3 tablespoons all-purpose flour</li>
<li>Bake 15 minutes in the preheated oven. Reduce the temperature to 350 degrees F (175
degrees C). Continue baking for 35 to 45 minutes, until apples are soft.</li>
</ol>
</section>
</body>
</html>

81 changes: 79 additions & 2 deletions apple-pie/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ html {
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
margin: 0;
margin: 0px;
padding: 0;
font-weight: lighter;
}
Expand All @@ -21,4 +21,81 @@ body {
}

/* STYLES */
/* Write your CSS below */
/* Write your CSS below */

.header-container{
background-image: url(../images/apple-pie.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 550px;
padding-top: 200px;
}
.header-container h1 {
text-align: center;
font-size: 6rem;
font-weight: 300;
color: white;
}

h2 {
text-align: center;
width: 70%;
margin: 40px auto;
line-height: 1.6;
font-size: 2rem;
font-weight: 300;
}

.separator-bar {
height: 2px;
background-color: lightgray;
margin: 40px 0;
}

img {
display: block;
margin: 40px auto;
max-width: 80%;
}

h3 {
text-align: left;
font-size: 2rem;
font-weight: 300;
margin-bottom: 20px;
}

section ol {
width: 70%;
margin: 0 auto 40px auto;
line-height: 1.6;
font-size: 1.1rem;
}

section ol li {
margin-bottom: 10px;
}

.ingredients-list {
list-style: none;
padding-left: 0;
}

.ingredients-list li::before {
content: "- ";
}

.directions-list {
list-style: none;
padding-left: 0;
counter-reset: step-counter;
}

.directions-list li {
counter-increment: step-counter;
}

.directions-list li::before {
content: counter(step-counter) ") ";
}