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
Binary file added .DS_Store
Binary file not shown.
102 changes: 102 additions & 0 deletions apple-pie-starter-code/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
* {
margin: 0;
padding: 0;
line-height: 20px;
font-size: 18px;
}

body {
font-family: 'Raleway', sans-serif;
background-color: rgb(255, 255, 255);
}

header {
overflow: hidden;
height: 940px;
}

header img {
position: relative;
width: 100%;
height: auto;
background-size: cover;
}

h1 {
position: absolute;
top: 430px;
left: 0;
width: 100%;
text-align: center;
color: white;
font-size: 5rem;
}

main {
margin: 75px 125px;
}

.intro {
text-align: center;
font-size: 25px;
margin-bottom: 20px;
margin-top: 30px;
}

.intro p {
font-size: 1.5rem;
letter-spacing: 3px;
line-height: 30px;
}

.intro img {
margin-top: 15px;
}

ul {
text-align: left;
margin-bottom: 30px;
list-style-type: none;
}

ul li:before {
content: "- ";
color: black;
font-size: inherit;
}

h3 {
margin-bottom: 20px;
text-align: left;
}

.ingredianc {
text-align: center;
margin-top: 40px;
margin-bottom: 30px;
}

.recepi {
margin-top: 40px;
text-align: left;
}

ol {
list-style: none;
counter-reset: my-awesome-counter;
}

ol li {
counter-increment: my-awesome-counter;
}

ol li::before {
content: counter(my-awesome-counter) ") ";
color: rgb(5, 5, 5);
font
}

main img {
width: 450px;
height: 100%;
}
92 changes: 63 additions & 29 deletions apple-pie-starter-code/index.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,69 @@
<!DOCTYPE html>
<html lang="en">

<head>
<title>Apple Pie Recipe</title>
<title>Apple Pie Recipe</title>

<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">


<link rel="stylesheet" href="/apple-pie-starter-code/css/main.css">


</head>

<body>
Apple Pies
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.

<header>
<img src="/apple-pie-starter-code/images/apple-pie.jpg" alt="apple pie">
<h1>Apple Pie</h1>
</header>

<main>
<section class="intro">
<p> 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>
<img src="/apple-pie-starter-code/images/recipe-info.png" alt="bbb">

</section>

<hr>

<section class="ingredianc">
<h3>Ingredients</h3>

<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 class=head-img src="/apple-pie-starter-code/images/cooking-info.png" alt="aaa">

</section>

<hr>
<section class="recepi">
<h3>Directions</h3>

<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>


</main>



</body>
</html>

</html>