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

Solved Lab #4433

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
92 changes: 63 additions & 29 deletions apple-pie/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,70 @@
<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 -->
</head>
<link rel="stylesheet" href="styles/reset.css">
<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
<div class="banner">
<p class="Apple-Pie-Text">Apple Pie</p>
</div>

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>
<div class="Introduction">
<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>
<div class="Pic-aligned">
<img src="styles/cooking-info.png" alt="recipe-info" >
</div>
<hr>
<div class="ingredients">
<h1>Ingredients</h1>
</div>
<div class="lists">
<p> -1 recipe pastry for a 9 inch double crust pie </p>
<p>-1/2 cup unsalted butter</p>
<p>-3 tablespoons all-purpose flour</p>
<p>-1/4 cup water</p>
<p>-3 tablespoons all-purpose flour</p>
<p>-1/2 cup white sugar</p>
<p>-1/2 cup packed brown sugar</p>
<p>-8 Granny Smith apples - peeled, cored and sliced</p>
</div>

<div class="Pic-aligned">
<img src="styles/recipe-info.png" alt="recipe-info-pic">
</div>
<hr>
<div class="Directions">
<h1>Directions</h1>
</div>
<div class="lists">

<div class="centered-text">
<p>1. 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.
</p>
<p>2. 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.
</p>
<p>3. 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.</p>

</div>


</body>
</html>










File renamed without changes
File renamed without changes
File renamed without changes
96 changes: 93 additions & 3 deletions apple-pie/styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,40 @@
/* CSS RESET - do not remove */
/* Reset default browser styles and provide a consistent starting point */
html {
box-sizing: border-box;
font-size: 16px;
box-sizing: border-,stylrbox;
font-size: 30px;
color: black;
hr {
width: 80%;
margin: 30px auto;
border: none;
border-top: 2px solid #080c0f;
}
.Introduction {
display: flex;
font-size: 28px;
text-align: center ;
padding-top: 30px ;

}

.centered-text {
display: flex;
flex-direction: column;
}

.text-overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 2em;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


}

*, *:before, *:after {
Expand All @@ -13,12 +45,70 @@ body, h1, h2, h3, h4, h5, h6, p, ol, ul {
margin: 0;
padding: 0;
font-weight: lighter;
color: rgb(27, 24, 20);
}
.Pic-aligned {

display: flex;
justify-content: center;
align-items: center;
height: 35vh;
padding-bottom: 0;

}


/* Set the font */
body {
font-family: "Helvetica", sans-serif;
font-size: 18px;
}
.banner {
background-image: url("../styles/apple-pie.jpg");
background-size: cover;
background-position: center;
position: relative;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.Apple-Pie-Text {
display: flex;
color: white;
font-size: 40px;
font-weight: 400;
position: absolute;
z-index: 2;
}
.ingredients {
display: flex;
flex-direction: column;
height: 10;
margin-left: 140px;
height:70px;

}
.lists {
display: flex;
flex-direction: column;
height: 10;
margin-left: 160px;
height: 70px;

}
.Directions {
display: flex;
flex-direction: column;
height: 10;
margin-left: 140px;
height:70px;

}




/* STYLES */
/* Write your CSS below */
/* Write your CSS below */
5 changes: 3 additions & 2 deletions french-soup/styles/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*Some necessary adjustments*/
h1, body, html, main {
margin: 0;
margin: 10;
}
/*Import the font and set the default size*/
html {
font-family: 'Open Sans', sans-serif;
font-size: 18px
font-size: 100px

}