Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

done #4406

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

done #4406

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: 41 additions & 30 deletions apple-pie/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,47 @@
<meta charset="UTF-8" />
<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

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.

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.
<div>
<h1 class="title">Apple Pie</h1>
</div>
<div class="presentation">
<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!</h2>
<img src="images/recipe-info.png" alt="Recipe info icons">
</div>
<hr>
<div>
<section class="recipe">
<p>Ingredients</p>
<ul>
<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 src="images/cooking-info.png" alt="Cooking info icons">
</section>
<hr>
<section class="recipe">
<p>Directions</p>
<ol>
<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>
</section>
</div>
</body>
</html>
</html>
73 changes: 70 additions & 3 deletions apple-pie/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ html {
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
margin: 0;
padding: 0;
font-weight: lighter;
padding: 0;
margin: 0;
}

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

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

h1 {
background-image: url('../images/apple-pie.jpg');
background-repeat: no-repeat;
background-size: cover;
text-align: center;
justify-content: center;
padding: 30%;
color: white;
font-size: 6em;
}

h2 {
font-size: 2.4em;
padding: 100px;
padding-bottom: 50px;
justify-content: center;
text-align: center;
}

img {
display: block;
width: 40%;
margin-left: auto;
margin-right: auto;
justify-content: center;
}

section > img {
width: 30%;
}
p {
font-weight: bold;
font-size: 1.5em;
}

.recipe {
padding-left: 50px;
}

ul {
list-style: "- ";
padding: 25px 25px 25px 35px;
font-size: 1.4em;
margin-top: 30px;
margin-bottom: 20px;
}

ol {
padding: 25px 25px 25px 35px;
font-size: 1.4em;
margin-top: 30px;
margin-bottom: 50px;
}

ol > li {
list-style: none;
counter-increment: list;
}

ol > li::before {
content: counter(list)") ";
}

hr {
margin: 40px;
}