Skip to content

Done #4571

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

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

Done #4571

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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
69 changes: 44 additions & 25 deletions apple-pie/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,55 @@
<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
<header class="bg-img text-centered">
<h1>Apple Pie</h1>
</header>
<section class="global-indents">
<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>
<img src="./images/recipe-info.png" alt="Recipe information image" />
</section>

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
<hr class="separator" />

Directions
<section class="global-indents custom-list">
<h2>Ingredients</h2>
<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</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>
<img src="./images/cooking-info.png" alt="Cooking information image" />
</section>

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.
<hr class="separator" />

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.
<section class="global-indents custom-list">
<h2>Directions</h2>
<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>
</body>
</html>
78 changes: 75 additions & 3 deletions apple-pie/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,22 @@ html {
font-size: 16px;
}

*, *:before, *:after {
*,
*:before,
*:after {
box-sizing: inherit;
}

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

/* STYLES */
/* Write your CSS below */
.bg-img {
background-image: url("../images/apple-pie.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
width: 100vw;
height: 70vh;
}

.text-centered {
display: flex;
align-items: center;
justify-content: center;
}

h1 {
color: white;
font-size: 60px;
}

.global-indents {
margin: 30px 100px;
}

.global-indents h2 {
font-size: 20px;
font-weight: 500;
margin-bottom: 20px;
}

.global-indents p {
font-size: 20px;
}

.global-indents img {
display: block;
width: 400px;
margin: 0 auto;
margin-top: 30px;
}

.separator {
border-top: 2px solid gray;
margin: 0 100px;
}

.global-indents ul, ol {
margin-left: 10px;
list-style-type: none;
counter-reset: num-list-counter;
}

.custom-list ul li::before {
content: "-";
margin-right: 5px;
}

.custom-list ol li::before {
counter-increment: num-list-counter;
content: counter(num-list-counter) ")";
margin-right: 5px;
}