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

Marcos WEBPTSept2024 #4358

Open
wants to merge 10 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
100 changes: 100 additions & 0 deletions starter-code/apple-pie-starter-code/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/*Some necessary adjustments*/
h1, body, html, main {
margin: 0;
}
/*Import the font and set the default size*/
html {
font-family: 'Open Sans', sans-serif;
font-size: 18px
}

/*
.apples {
display: block;
width: 100%;
margin: auto;
}
*/
hr {
width: 80%;
margin: 50px auto;
border-width: 3px;
}

.container {
position: relative;
height: 100vh;
background-image: url('../images/apple-pie.jpg');
background-repeat: no-repeat;
background-size: 1920px auto;
}

.center {
color: #fff;
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 150px;
}

.description {
font-size: 2.4em;
width: 80%;
margin: 140px auto 0 auto;
}

.data {
width: 35%;
margin: 80px auto 50px auto;
}

.data img {
width: 100%;
margin: 0 auto;
}

.list {
width: 80%;
margin: 0 auto;
}

h1 {
font-size: 2.5em;
margin: 60px 0;
}

li {
font-size: 200%;
}

ul {
list-style-type: none;
}

.thirdSection {
margin-bottom: 180px;
}

@media screen and (max-width:1400px) {
.description {
font-size: 160%;
}

.center {
font-size: 550%;
}

.container {
height: 700px;
background-size: 1400px auto;
}

li {
font-size: 130%;
}

h1 {
font-size: 190%;
}
}
73 changes: 50 additions & 23 deletions starter-code/apple-pie-starter-code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,61 @@
<html lang="en">
<head>
<title>Apple Pie Recipe</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,600" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
</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
<section class="firstSection">
<div class="container">
<!--<img class="apples" src="images/apple-pie.jpg" alt="Apples on a wooden table">-->
<div class="center">Apple Pie</div>
</div>
<p class="description">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 class="data">
<img src="images/recipe-info.png">
</div>
<hr>
</section>

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.
<section class="secondSection">
<div class="list">
<h1>Ingredients</h1>
<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>
</div>
<div class="data">
<img src="images/cooking-info.png">
</div>
<hr>
</section>

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.
<section class="thirdSection">
<div class="list">
<h1>Directions</h1>
<ul>
<li>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.</li>
<li>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.</li>
<li>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.</li>
</ul>
</div>
</section>

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>
</html>
95 changes: 94 additions & 1 deletion starter-code/french-onion-soup-starter-code/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,98 @@ h1, body, html, main {
/*Import the font and set the default size*/
html {
font-family: 'Open Sans', sans-serif;
font-size: 18px
font-size: 18px;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

n0 nro noooo este size mejor a 24px

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok ok lo reviso

}

/*
.soup {
display: block;
width: 100%;
margin: auto;
}
*/
hr {
width: 80%;
margin: 50px auto;
border-width: 3px;
}

.container {
position: relative;
height: 100vh;
background-image: url('../images/soup.jpg');
background-repeat: no-repeat;
background-size: 1920px auto;
}

.center {
width: 70%;
text-align: center;
color: #fff;
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 150px;
}

.description {
font-size: 2.4em;
width: 80%;
margin: 140px auto 0 auto;
}

.data {
width: 35%;
margin: 80px auto 50px auto;
}

.data img {
width: 100%;
margin: 0 auto;
}

.list {
width: 80%;
margin: 0 auto;
}

h1 {
font-size: 2.5em;
margin: 60px 0;
}

li {
font-size: 200%;
}

ul {
list-style-type: none;
}

.thirdSection {
margin-bottom: 180px;
}

@media screen and (max-width:1400px) {
.description {
font-size: 170%;
}

.center {
font-size: 550%;
}

.container {
height: 700px;
background-size: 1400px auto;
}

li {
font-size: 130%;
}

h1 {
font-size: 190%;
}
}
85 changes: 54 additions & 31 deletions starter-code/french-onion-soup-starter-code/index.html
Original file line number Diff line number Diff line change
@@ -1,43 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>French Onion Soup Recipe</title>
<!-- Google fonts gives us access to the Open Sans Font -->
<!-- Google fonts is also awesome! Make sure to check it out -->
<title>French Onion Soup</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,600" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
</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
<body>

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.
<section class="firstSection">
<div class="container">
<!--<img class="soup" src="images/soup.jpg" alt="Apples on a wooden table">-->
<div class="center">French Onion Soup</div>
</div>
<p class="description">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>
<div class="data">
<img src="images/recipe-info.png">
</div>
<hr>
</section>

Add beef broth, sherry and thyme. Season with salt and pepper, and simmer for 30
minutes.
<section class="secondSection">
<div class="list">
<h1>Ingredients</h1>
<ul>
<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>
</div>
<div class="data">
<img src="images/cooking-info.png">
</div>
<hr>
</section>

Heat the oven broiler.
<section class="thirdSection">
<div class="list">
<h1>Directions</h1>
<ul>
<li>1) 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.</li>
<li>2) Add beef broth, sherry and thyme. Season with salt and pepper, and simmer for 30
minutes.</li>
<li>3) Heat the oven broiler.</li>
<li>4) 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>
</ul>
</div>
</section>

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.
</body>
</html>