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
45 changes: 33 additions & 12 deletions apple-pie/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,39 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Apple Pie Recipe</title>
<!-- don't forget to link your styles -->
<link rel="stylesheet" href="style.css" style-type: text\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.
</body>
<h1>Apple Pie</h1>
<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>
<section class="cooking-info">
<img src="images/recipe-info.png" alt="Recipe Information">
</section>
<hr>
<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>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>
<section class="cooking-info">
<img src="images/cooking-info.png" alt="cooking Information">
</section>
<hr>
<h3>Directions</h3>
<ol>
<li>Preheat oven to 425°F (220°C).</li>
<li>Melt the butter in a saucepan...</li>

</ol>
</body>

</html>
92 changes: 92 additions & 0 deletions apple-pie/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/* Global Settings */
body {
margin: 0;
font-family: 'Proxima Nova Soft', sans-serif;
line-height: 1.6;
background-color: #f9f9f9; /* Subtle background for contrast */
color: #333;
}

/* Hero Section */
h1 {
background-image: url('images/apple-pie.jpg'); /* Ensure this path is correct */
background-size: cover;
background-position: center;
height: 85vh; /* Adjust this for the height of the hero section */
display: flex;
justify-content: center;
align-items: center;
color: white;
font-size: 4rem;
font-weight: 300;
margin: 0;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Add depth to the text */
}

/* Description Section */
h2 {
text-align: center;
font-size: 1.5rem;
font-weight: lighter;
color: #555;
margin: 30px auto;
width: 70%;
line-height: 1.8;
}
.cooking-info {
text-align: center;
margin: 20px auto; /* Adds spacing around the section */
}

.cooking-info img {
width: 300px; /* Adjust the size as needed */
height: auto; /* Maintains aspect ratio */
display: flex; /* Centers the image inside the section */
margin: 30px auto; /* Centers the section itself */
}

hr {
border: none; /* Remove default browser styling */
border-top: 6px solid #ccc; /* Add a light gray line */
margin: 20px 0; /* Add spacing above and below the line */
width: 70%; /* Optional: control the width of the line */
margin-left: auto; /* Center the line */
margin-right: auto; /* Center the line */

}
/* Ingredients and Directions Section */
h3 {
font-size: 1.2rem;
color: #333;
margin: 30px auto ;
width: 70%;
text-align: left;
border-radius: 10px;
}

ul, ol {
margin: 20px auto;
width: 70%;
list-style-position: inside;
font-size: 1rem;
line-height: 1.8;
color: #555;
padding: 10px;
background: #f9f9f9;
border-radius: 10px;

}

/* Buttons and Icons */
button, .icons {
display: flex;
justify-content: center;
margin: 20px auto;
}

/* Additional Styling */
.container {
margin: auto;
max-width: 1200px;
padding: 20px;
}
Empty file removed apple-pie/styles/style.css
Empty file.