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
71 changes: 48 additions & 23 deletions apple-pie/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,60 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Apple Pie Recipe</title>
<!-- Remember to link your styles -->
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>
Apple Pie

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
<header class="titel-img">
<h1>Apple Pie</h1>
</header>

Directions
<div class="description">
<p>
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!
</p>
</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 id="ingredients">
<h2>Ingredients </h2>
</div>

<section>
<ul class="unsorted-list">
<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>
<img class="graphics-img" src="./images/cooking-info.png" alt="cooking info">
<h1 class="line-text"> </h1>
</section>

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.
<div id="directions">
<h2>Directions</h2>
</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.
<section>
<ol class="sorted-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.
</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>
<img class="graphics-img-2" src="./images/recipe-info.png" alt="recipe info">
<h1 id="line-text-2"> </h1>
</section>

</body>
</html>
88 changes: 87 additions & 1 deletion apple-pie/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ body, h1, h2, h3, h4, h5, h6, p, ol, ul {
margin: 0;
padding: 0;
font-weight: lighter;
text-align: center;
}

/* Set the font */
Expand All @@ -21,4 +22,89 @@ body {
}

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

.titel-img {
margin: 2px;
padding: 200px;
background-image: url('../images/apple-pie.jpg');
background-position: center;
background-size: cover;
background-repeat: no-repeat;

text-align: center;
}

.titel-img h1 {
color: aliceblue;
}

.description p{
margin: 10px;
padding: 10px;
text-align: center;
text-align: justify;
}

#ingredients h2{
margin: 10px;
padding: 10px;
text-align: left;
}


.unsorted-list {
margin: 20px;
padding: 20px;
text-align: left;
text-align: justify;
}

#directions h2{
margin: 10px;
padding: 10px;
text-align: left;
}

.sorted-list {
margin: 20px;
padding: 20px 20px 80px 20px;
text-align: left;
text-align: justify;
}

.graphics-img {
width: 400px;
height: 100px;
padding-bottom: 1px; /* Abstand zwischen Linie und Text */
}

.graphics-img-2 {
width: 500px;
height: 80px;
padding-bottom: 1px;
}

.line-text {
border-bottom: 2px solid black;

/* Sorgt dafür, dass das Element die volle Breite nutzt */
display: block;
width: 100%;

padding-top: 20px;
margin-top: 20px;
}

#line-text-2 {
border-top: 2px solid black;

/* Sorgt dafür, dass das Element die volle Breite nutzt */
display: block;
width: 100%;

padding-top: 20px;
margin-top: 20px;

padding-bottom: 80px;
}