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

Finished lab #4366

Open
wants to merge 4 commits 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
Binary file added .DS_Store
Binary file not shown.
88 changes: 61 additions & 27 deletions apple-pie/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,69 @@
<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
<main>
<section1 id="section1">
<h1 id="title">Apple Pie</h1>
</section1>
</div>
<article id="some-text">
<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>
</article>
<div class="recipe-info">
<img src="./images/recipe-info.png" />
</div>
<section2 class="section2-3">
<hr class="line">
<h2 class="subtitle">Ingredients</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!

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.
<ul id="Ingredients">
<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>
<div class="recipe-info">
<img id="cooking" src="./images/cooking-info.png" />
</div>
</section2>
<hr class="line"/>
<section3 class="section2-3">
<h2 class="subtitle">Directions</h2>
<ol id="instructions">
<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>
</section3>
</body>
</main>

</html>

<!--FLEXBOX
section id= flex-container
con div y class square >
Empty file added apple-pie/styles/archivo.js
Empty file.
138 changes: 134 additions & 4 deletions apple-pie/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,23 @@ html {
font-size: 16px;
}

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

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

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



#apple {
width: 100%;
padding: 2px;
display: block;
object-fit: cover;
height: 700px;
}

#section1{
background-image: url(../images/apple-pie.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 80vh;
display: flex;
justify-content: center;
align-items: center;
}

#title {
color: white;
text-align: center;
text-align: center;
font-size: 48px;
padding-bottom: 50px;
align-self: center;
}

/*
a;adir div con height para hacer margen

#section1{
background-image: url("../images/apple-pie.jpg");
}

#title{
text-align:center;
font-size:40px;
padding-top:160px; usando calculo no tan recomendable
border -radios redondea la imagen
}*/

#title {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: rgb(255, 255, 255);
font-size: 75px;
}

#some-text {
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
text-align: left;
margin: 25px auto;
padding: 28px;
align-items: center;
width: 68%;
}

.recipe-info {
display: flex;
justify-content: center;
align-content: center;
height: 50px;
margin-top: 10px;
}

.line {
width: 1050px;
}

#Ingredients{
list-style-type: none;
}
ul li::before{
content: "- ";
}


/* FLEXBOX

.square{
weight:
height:
background color"
}

#flex-container{
aqui usamos propiedades flex
}
*/

.subtitle{
margin-left: 30px;
padding-bottom: 30px;
}

#Ingredients {
margin-left: 70px;
}

#instructions {
margin-left: 70px;
display: flex;
justify-content: center;
align-items: last baseline;
flex-direction: column;
align-self: center;
padding-bottom: 60px;
width: 83%;

}
Binary file added french-soup/.DS_Store
Binary file not shown.
72 changes: 62 additions & 10 deletions french-soup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,69 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>French Onion Soup Recipe</title>
<!-- don't forget to link your styles -->
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>
French Onion Soup We have been trying French onion soup in restaurants for years and my family and friends agree
none can compare to my recipe for taste and simplicity of preparation. Ingredients 1/2 cup unsalted butter 2
tablespoons olive oil 4 cups sliced onions 4 (10.5 ounce) cans beef broth 2 tablespoons dry sherry (optional) 1
teaspoon dried thyme salt and pepper to taste 4 slices French bread 4 slices provolone cheese 2 slices Swiss cheese,
diced 1/4 cup grated Parmesan cheese Directions Melt butter with olive oil in an 8 quart stock pot on medium heat.
Add onions and continually stir until tender and translucent. Do not brown the onions. Add beef broth, sherry and
thyme. Season with salt and pepper, and simmer for 30 minutes. Heat the oven broiler. Ladle soup into oven safe
serving bowls and place one slice of bread on top of each (bread may be broken into pieces if you prefer). Layer
each slice of bread with a slice of provolone, 1/2 slice diced Swiss and 1 tablespoon Parmesan cheese. Place bowls
on cookie sheet and broil in the preheated oven until cheese bubbles and browns slightly.
<section id="section-0">
<h1 id="title" >French Onion Soup</h1>
</section>
<div id="info">
<article>
<p>
We have been trying French onion soup in restaurants for years and my
family and friends agree none can compare to my recipe for taste and
simplicity of preparation.
</p>
</article>
</div>
<div id="info-container">
<img id="pic" src="./images/recipe-info.png" />
</div>
</section>
<hr class="line">
<section id="section-3">
<h2 id="soup">Ingredients</h2>
<ul id="list">
<li>1/2 cup unsalted butter</li>
<li>2 tablespoons olive oil</li>
<li>4 cups sliced onions</li>
<li>4 (10.5 ounce) cans beef broth</li>
<li>2 tablespoons dry sherry (optional)</li>
<li>1 teaspoon dried thyme</li>
<li>salt and pepper to taste</li>
<li>4 slices French bread</li>
<li>4 slices provolone cheese</li>
<li>2 slices Swiss cheese,diced</li>
<li>1/4 cup grated Parmesan cheese</li>
</ul>
</section>
<div id="info-container1">
<img src="./images/cooking-info.png" />
</div>
<hr class="line">
<section id="section-4">
<h2 id="direction">Directions</h2>
<ol id="list2">
<li>
Melt butter with olive oil in an 8 quart stock pot on medium heat.
</li>
<li>
Add onions and continually stir until tender and translucent. Do not
brown the onions.
</li>
<li>
Add beef broth, sherry and thyme. Season with salt and pepper, and
simmer for 30 minutes.
</li>
<li>Heat the oven broiler.</li>
<li>
Ladle soup into oven safe serving bowls and place one slice of bread
on top of each (bread may be broken into pieces if you prefer). Layer
each slice of bread with a slice of provolone, 1/2 slice diced Swiss
and 1 tablespoon Parmesan cheese. Place bowls on cookie sheet and
broil in the preheated oven until cheese bubbles and browns slightly.
</li>
</ol>
</section>
</body>
</html>
Loading