Skip to content
Open

done #4664

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 modified apple-pie/images/apple-pie.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 48 additions & 25 deletions apple-pie/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,60 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Apple Pie Recipe</title>
<div style="text-align: center;">
<title>Apple Pie Recipe</title>
<!-- Remember to link your styles -->
<link rel="stylesheet" href="./styles/style.css" />
</head>
<body>
Apple Pie
<div class="hero">
<h1 class="apple-title">Apple Pie</h1>
</div><br><br><br>
<p class="center-text">
This was my grandmother's apple pie recipe. I have never seen another one
<br>quite like it. It will always
be my favorite and has won me several first place
<br>prizes in local competitions. I hope it becomes one of your
favorites as well!</p>
<br><br>
<img class="recipe-info" src="./images/recipe-info.png" alt="recipe-information"/>
<hr>
<br>
<div style="width: 60%; margin: auto; text-align: left;">
<h3>Ingredients </h3> <br>
<ul class="dash-list" style="font-size: 20px; list-style: none; padding-left: 0;">
<li>-1 recipe pastry for a 9 inch double crust pie</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</li>
<li>-1/2 cup white sugar</li>
<li>-1/2 cup packed brown sugar</li>
<li>-8 Granny Smith apples - peeled, cored and sliced</li>
</ul>
</div>
<div style="text-align: center;">

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

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
<br>
<img class="cooking-info" src="./images/cooking-info.png" alt="cooking-information"/> <br>
<hr>
<br>

Directions
<div style="width: 60%; margin: auto; text-align: left;">
<h3>Directions </h3><br>
<div style="display: inline-block; text-align:left; font-size: 20px;">

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.

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
1) Preheat oven to 425 degrees F (220 degrees C).Melt the butter in a saucepan. Stir in
<br>flour to form a paste. Add water, white sugar and brown sugar, and bring to a boil. Reduce
<br>temperature and let simmer.<br><br>
2) Place the bottom crust in your pan. Fill with apples, mounded slightly. Cover with a
<br>lattice work crust. Gently pour the sugar and butter liquid over the crust. Pour slowly so
<br>that it does not run off.<br><br>
3) Bake 15 minutes in the preheated oven. Reduce the temperature to 350 degrees F (175<br>
degrees C). Continue baking for 35 to 45 minutes, until apples are soft.
<br><br>
</p>
<br>
</body>
</html>
44 changes: 41 additions & 3 deletions apple-pie/styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
/* CSS RESET - do not remove */
/* Reset default browser styles and provide a consistent starting point */
html {
.title {
background-color: #f9f9f9;
padding: 20px;
border-radius: 10px;
width: 60%;
margin: auto;
text-align: left;
}
box-sizing: border-box;
font-size: 16px;
font-size: 30px;
}

*, *:before, *:after {
Expand All @@ -17,8 +25,38 @@ body, h1, h2, h3, h4, h5, h6, p, ol, ul {

/* Set the font */
body {
font-family: "Helvetica", sans-serif;
font-family: "helvetica", sans-serif;
}

/* STYLES */
/* Write your CSS below */
/* Write your CSS below */
.hero {
background-image: url(../images/apple-pie.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 60vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}

img {
width: 50vw
}
.recipe-info {
width: 30vw;
display: block;
margin: 0 auto;
}
.cooking-info {
width: 30vw;
display: block;
margin: 0 auto;
}
.apple-title {
color: white;
font-size: 75px;
text-align: center;
}