-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (129 loc) · 5.58 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Frontend Mentor - Recipe Page" />
<meta name="keywords" content="HTML, Tailwind CSS" />
<meta name="author" content="Rebecca Padgett" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png" />
<title>Frontend Mentor | Recipe page</title>
<!-- !google font -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Young+Serif&display=swap" rel="stylesheet" />
<!-- !css -->
<link rel="stylesheet" href="./public/output.css">
</head>
<body class="grid min-h-screen place-content-center bg-eggshell font-Outfit text-wenge-brown">
<main class="lg:max-w-[46.25rem] bg-white lg:my-[5rem] lg:rounded-2xl">
<h1 class="sr-only">Frontend Mentor | Recipe page</h1>
<figure class="lg:p-10">
<img class="lg:rounded-xl" src="./assets/images/image-omelette.jpeg" alt="omelette" />
<figcaption class="sr-only">Omelette on a plate</figcaption>
</figure>
<section class="grid gap-16 py-11 px-[1.875rem] ">
<header class="grid gap-4">
<h2 class="text-3xl text-charcoal font-youngSerif lg:text-5xl">Simple Omelette Recipe</h2>
<p>
An easy and quick dish, perfect for any meal. This classic omelette
combines beaten eggs cooked to perfection, optionally filled with
your choice of cheese, vegetables, or meats.
</p>
</header>
<article class="grid gap-4 p-6 rounded-lg bg-rose-white">
<h3 class="text-xl font-bold text-raspbery font-Outfit">Preparation time</h3>
<ul class="flex flex-col list-disc gap-y-2 ml-7 marker:text-raspbery">
<li>
<span class="pl-3 font-bold ">Total:</span>
Approximately 10 minutes
</li>
<li>
<span class="pl-3 font-bold">Preparation:</span>
5 minutes
</li>
<li>
<span class="pl-3 font-bold">Cooking:</span>
5 minutes
</li>
</ul>
</article>
<article class="grid gap-4 border-b border-grey">
<h3 class="text-3xl font-bold font-youngSerif text-nutmeg">Ingredients</h3>
<ul class="flex flex-col mb-10 ml-6 list-disc marker:text-raspbery gap-y-2">
<li class="pl-6">2-3 large eggs</li>
<li class="pl-6">Salt, to taste</li>
<li class="pl-6">Pepper, to taste</li>
<li class="pl-6">1 tablespoon of butter or oil</li>
<li class="pl-6">
Optional fillings: cheese, diced vegetables, cooked meats, herbs
</li>
</ul>
</article>
<article class="grid gap-4 border-b border-grey">
<h3 class="text-3xl font-bold font-youngSerif text-nutmeg">Instructions</h3>
<ol class="flex flex-col mb-10 ml-4 list-decimal marker:text-raspbery marker:font-bold gap-y-2">
<li class="pl-4">
<span class="font-bold">Beat the eggs:</span>
In a bowl, beat the eggs with a pinch of salt and pepper until
they are well mixed. You can add a tablespoon of water or milk for
a fluffier texture.
</li>
<li class="pl-4">
<span class="font-bold">Heat the pan:</span>
Place a non-stick frying pan over medium heat and add butter or
oil.
</li>
<li class="pl-4">
<span class="font-bold">Cook the omelette:</span>
Once the butter is melted and bubbling, pour in the eggs. Tilt the
pan to ensure the eggs evenly coat the surface.
</li>
<li class="pl-4">
<span class="font-bold">Add fillings (optional):</span>
When the eggs begin to set at the edges but are still slightly
runny in the middle, sprinkle your chosen fillings over one half
of the omelette.
</li>
<li class="pl-4">
<span class="font-bold">Fold and serve:</span>
As the omelette continues to cook, carefully lift one edge and
fold it over the fillings. Let it cook for another minute, then
slide it onto a plate.
</li>
<li class="pl-4">
<span class="font-bold">Enjoy:</span>
Serve hot, with additional salt and
pepper if needed.
</li>
</ol>
</article>
<article class="grid gap-4">
<h3 class="text-3xl font-bold font-youngSerif text-nutmeg">Nutrition</h3>
<p>
The table below shows nutritional values per serving without the
additional fillings.
</p>
<table>
<tr class="text-center border-b border-grey lg:text-left">
<td class="p-2">Calories</td>
<td class="font-bold text-nutmeg">277kcal</td>
</tr>
<tr class="text-center border-b border-grey lg:text-left">
<td class="p-2">Carbs</td>
<td class="font-bold text-nutmeg">0g</td>
</tr>
<tr class="text-center border-b border-grey lg:text-left">
<td class="p-2">Protein</td>
<td class="font-bold text-nutmeg">20g</td>
</tr>
<tr class="text-center border-b border-grey lg:text-left">
<td class="p-2">Fat</td>
<td class="font-bold text-nutmeg">22g</td>
</tr>
</table>
</article>
</section>
</main>
</body>
</html>