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
91 changes: 70 additions & 21 deletions apple-pie/index.html
Original file line number Diff line number Diff line change
@@ -1,39 +1,88 @@
<!DOCTYPE html>
<html lang="en">
<lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Apple Pie Recipe</title>
<link rel="stylesheet" href="./styles/style.css">
<!-- Remember to link your styles -->
</head>


<body>
Apple Pie

<div id="divOfpic" class="container" >
<h1>
Apple Pie
</h1>
</div>

<div id="divOfpic" class="sentens1">
<p id="fistPar" class="pargraf">
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
favorites as well! </p>
</div>

<div id="dicOfimg2" class="img2">
<img class="imgOfadvice" src="./images/recipe-info.png" alt="img is missing">
</div>

Directions
<div id="Line" class="Line">
<h2 class="Line"> </h2>
</div>

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.
<div class="mainPara">
<p class="titleOf">
Ingredients
</p>
<ul class="ulOf">
<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 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 id="dicOfimg2" class="img2">
<img class="cookingInfo" src="./images/cooking-info.png" alt="img is missing">
</div>

Place the bottom crust in your pan. Fill with apples, mounded

<div id="Line" class="Line">
<h2 class="Line"> </h2>
</div>

<div class="lastPara">
<p class="lastPara">Directions</p>
<ul class="ulOf">
<li> 1)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>2)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.
that it does not run off.</li>
<li>3)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>





</ul>
</div>









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.

</body>
</html>
115 changes: 114 additions & 1 deletion apple-pie/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
html {
box-sizing: border-box;
font-size: 16px;
/* background-color: aquamarine; */
}

*, *:before, *:after {
Expand All @@ -21,4 +22,116 @@ body {
}

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

/* Change style of Applepie img */
.container {
display: flex;
justify-content: center;
width: 90vw;
margin: 0 auto;

}

h1{
display: flex;
background-image: url(../images/apple-pie.jpg);
background-size: cover;
color: rgb(252, 250, 250);
padding: 20px;
width: 90vw;
height: 80vh;
font-size: 10rem;

justify-content: center;
align-items: center;
}

.sentens1{
display: flex;
justify-content: center;
width: 90vw;
margin: 0 auto;

}
p
{
display: flex;
font-size: 1rem;
align-items: center;
width: 80vw;
height: auto;
margin: 1rem;
}

.img2
{
width: 20rem;
height: 7rem;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}

img
{
width: 100%;
height: 100%;
object-fit: contain;
display: block;
justify-content: center;
align-items: center;
}



h2
{
display: block;
background-color: black;
width: 90vw;
height: 2px;
margin: 0 auto;
}

div.mainPara
{
display: block;

width: 90vw;
margin: 0 auto;
}

p.titleOf
{
display: block;
justify-content:flex-start;
margin: 1rem;

}

ul.ulOf
{
display: block;
flex-direction: column;
justify-content:flex-start;
margin: 1rem;
}

div.lastPara
{
display: block;
width: 90vw;
margin: 0 auto;
}

p.lastPara
{
display: block;
flex-direction: column;
justify-content:flex-start;
margin: 1rem;
}