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.
Binary file added apple-pie-starter-code/.DS_Store
Binary file not shown.
50 changes: 50 additions & 0 deletions apple-pie-starter-code/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
*{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Remember to add the reset part to make your live easier.

margin: 0;
font-family: 'Open Sans', sans-serif;
font-size: 18px
}


/* Header */
.presentation{
margin: 0 150px;
background: url("../images/apple-pie.jpg");
background-size: cover;
background-position: center;
height: 500px;
}

.recipe-name{
color: white;
font-size: 70px;
text-align: center;
line-height: 500px;
}

/* Main */
main{
width: 60%;
margin: 0 auto 40px;
}

.description{
padding-top: 60px;
}

.info{
width: 40%;
margin: 20px 30%;
}

h2{
padding: 40px 0 30px 0;
}

.ingredients ul{
padding: 0px 10px;
list-style: none;
}

.directions ol{
padding: 0px 20px;
}
71 changes: 43 additions & 28 deletions apple-pie-starter-code/index.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Apple Pie Recipe</title>
</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!
<head>
<title>Apple Pie Recipe</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/main.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,600" rel="stylesheet">
</head>
<body>

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
<header class="presentation">
<h1 class="recipe-name">Apple Pies</h1>
</header>

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.
<main>
<section class="description">
<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>
<img class="info" src="images/recipe-info.png" alt="recipe-info">
<hr>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Try no to use hr for styling, only when it makes sense to have a line break from structure for example poetry :). The concept is separation of concerns, css should be responsable to create that space and not html (in charge of strcuture)

</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="ingredients">
<h2>Ingredients</h2>
<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="info" src="images/cooking-info.png" alt="cooking-info">
<hr>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Same

</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>
<section class="step directions">
<h2>Directions</h2>
<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>
44 changes: 44 additions & 0 deletions french-onion-soup-starter-code/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,47 @@ html {
font-family: 'Open Sans', sans-serif;
font-size: 18px
}

/* Header */
.presentation{
margin: 0 150px;
background: url("../images/soup.jpg");
background-size: cover;
background-position: center;
height: 500px;
}

.recipe-name{
color: white;
font-size: 70px;
text-align: center;
line-height: 500px;
}

/* Main */
main{
width: 60%;
margin: 0 auto 40px;
}

.description{
padding-top: 60px;
}

.info{
width: 40%;
margin: 20px 30%;
}

h2{
padding: 40px 0 30px 0;
}

.ingredients ul{
padding: 0px 10px;
list-style: none;
}

.directions ol{
padding: 0px 20px;
}
83 changes: 51 additions & 32 deletions french-onion-soup-starter-code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,61 @@
<html lang="en">
<head>
<title>French Onion Soup Recipe</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/main.css">
<!-- Google fonts gives us access to the Open Sans Font -->
<!-- Google fonts is also awesome! Make sure to check it out -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,600" 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

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.
<header class="presentation">
<h1 class="recipe-name">French Onion Soup</h1>
</header>

<main>
<section class="description">
<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>
<img class="info" src="images/recipe-info.png" alt="recipe-info">
<hr>
</section>

<section class="ingredients">
<h2>Ingredients</h2>
<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>- 1salt 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>
<img class="info" src="images/cooking-info.png" alt="cooking-info">
<hr>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Same

</section>

<section class="step directions">
<h2>Directions</h2>
<ol>
<li>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>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>

</main>


Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe to many spaces







</body>
</html>