Skip to content
Open

done #133

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
35 changes: 35 additions & 0 deletions recip.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
body {
font-family: Arial, sans-serif;
background-image: url("../images/apple-pie.jpg");
background-size: cover;
background-position: center;
text-align: center;
}

header {
background-color: rgba(255, 255, 255, 0.8);
padding: 20px;
font-size: 24px;
}

.recipe-image img {
width: 80%;
max-width: 600px;
border-radius: 10px;
}

.recipe-info,
.instructions {
background-color: rgba(255, 255, 255, 0.9);
margin: 20px auto;
padding: 15px;
width: 80%;
max-width: 600px;
border-radius: 10px;
}

ul,
ol {
text-align: left;
display: inline-block;
}
40 changes: 40 additions & 0 deletions recip.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!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>
<link rel="stylesheet" href="recip.css" />
</head>
<body>
<header>
<h1>Apple Pie</h1>
</header>
<section class="recipe-image">
<img src="images/apple-pie.jpg" alt="Delicious Apple Pie" />
</section>
<section class="recipe-info">
<h2>Ingredients</h2>
<ul>
<li>6 apples, sliced</li>
<li>1 cup sugar</li>
<li>2 tbsp flour</li>
<li>1 tsp cinnamon</li>
<li>1/4 tsp salt</li>
<li>1 tbsp lemon juice</li>
<li>1 pie crust</li>
</ul>
</section>
<section class="instructions">
<h2>Instructions</h2>
<ol>
<li>Preheat oven to 375°F (190°C).</li>
<li>Mix apples, sugar, flour, cinnamon, salt, and lemon juice.</li>
<li>Place the apple mixture into the pie crust.</li>
<li>Cover with top crust and seal the edges.</li>
<li>Bake for 50 minutes or until golden brown.</li>
<li>Let it cool before serving.</li>
</ol>
</section>
</body>
</html>