Skip to content

(Kateryna Soloviova) LAB CSS Recipes clone #4613

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

Open
wants to merge 2 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode
99 changes: 65 additions & 34 deletions apple-pie/index.html
Original file line number Diff line number Diff line change
@@ -1,39 +1,70 @@
<!DOCTYPE html>
<html lang="en">
<head>
<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>
<body>
Apple Pie

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Apple Pie Recipe</title>
<link rel="stylesheet" href="./styles/style.css">
<!-- Remember to link your styles -->
</head>

<body>
<section class="header">
<h1>Apple Pie</h1>
<img src="./images/apple-pie.jpg" alt="Apple Pie Logo">
</section>


<section class="text-section">
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>
</html>
favorites as well!
</div>

<div class="img-info">
<img src="./images/recipe-info.png" alt="Recipe Info">
</div>
<hr />
</section>


<section class="text-section">
<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>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="img-info">
<img src="./images/cooking-info.png" alt="Cooking Info">
</div>
<hr />
</section>


<section class="text-section">
<h3>Directions</h3>
<div>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. <div>

<div>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.</div>

<div>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.</div>
</section>

</body>

</html>
58 changes: 57 additions & 1 deletion apple-pie/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,60 @@ body {
}

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

.text-section {
margin-left: 80px;
margin-right: 80px;
margin-top: 20px;
margin-bottom: 30px;
}

.text-section ul {
margin-left: 25px;
list-style: none;
}

li::before {
content: "-";
padding-right: 8px;
}

h3 {
font-weight: bold;
margin-bottom: 30px;
margin-top: 30px;
}

.img-info {
text-align: center;
padding-top: 30px;
}

.img-info img {
width: auto;
max-height: 60px;
;
}

.header {
position: relative;
text-align: center;
color: white;
margin-left: 20px;
margin-bottom: 40px;
}

.header h1 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 45pt;
}

.header img {
height: 400px;
width: 800px;
object-fit: cover;
}
85 changes: 66 additions & 19 deletions french-soup/index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,68 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>French Onion Soup Recipe</title>
<!-- don't forget to link your styles -->
</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.
</body>
</html>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>French Onion Soup Recipe</title>
<link rel="stylesheet" href="styles/style.css">
<!-- don't forget to link your styles -->

</head>

<body>
<section class="header">
<h1>French Soup</h1>
<img src="./images/soup.jpg" alt="Soup Logo">
</section>

<section class="text-section">
<div>
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.
</div>

<div class="img-info">
<img src="./images/recipe-info.png" alt="Recipe Info">
</div>
<hr />
</section>

<section class="text-section">
<h3>Ingredients</h3>
<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 salt pepper to taste</li>
<li>4 slices French bread</li>
<li>4 slices provolone cheese</li>
<li>2 slices Swiss cheese </li>
<li>diced 1/4 cup grated Parmesan cheese</li>
</ul>

<div class="img-info">
<img src="./images/cooking-info.png" alt="Cooking Info">
</div>
<hr />
</section>

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

</section>

</body>

</html>
63 changes: 63 additions & 0 deletions french-soup/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,66 @@ html {
font-family: 'Open Sans', sans-serif;
font-size: 18px
}


.text-section{
margin-left: 90px;
margin-right: 90px;
margin-top: 30px;
margin-bottom: 40px;
}

.img-info {
text-align: center;
padding-top: 2%;
}

.img-info img{
width: auto;
max-height: 60px;
}

h3 {
font-weight: bold;
margin-bottom: 30px;
margin-top: 30px;
}

.text-section ul {
margin-left: 0px;
list-style: none;
}


li::before {
content: "-";
padding-right: 8px;
}

h3 {
font-weight: bold;
margin-bottom: 30px;
margin-top: 30px;
}

.header {
position: relative;
text-align: center;
color: white;
margin-left: 20px;
margin-bottom: 20px;
}

.header h1{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 45pt;
}

.header img {
height: 400px;
width: 800px;
object-fit: cover;
}