In: Computer Science
For this assignment you are required to create a web page displaying a recipe of your choosing.
Your submission should appropriately use the basic head and body construction of an HTML document. Additionally you are required to appropriately use at least three different HTML element types.
For example you might use an unordered list for your ingredients, an ordered list for the steps of your recipe, and an image to show the final result. If you choose to use an existing recipe (not a bad idea) please remember to cite the original source somewhere in your submission.
You will also be required to use CSS styling to alter the appearance of your document. While you will not be graded on appearance per se, your recipe should look clean, organized, and easy to follow.
What is required in your submission?
HTML
• Proper doctype, html, head, body construction
• At least 3 different HTML elements (in body)
• An actual recipe (don’t just submit filler text)
CSS
• Internal CSS file (to be referenced in HTML head by creating a
<style></style> element)
• Styling of at least one property using an element selector
• Styling of at least one property using an id selector
• Styling of at least one property using a class selector
• Setting at least 4 different properties, (for example setting
font-style and text-align on instructions, background-color on the
body, and padding on list items.)
HTML CODE:-
<!DOCTYPE html>
<html>
<head>
<title>
Recipe
</title>
</head>
<style>
body{
margin: 0;
border: none;
}
#top{
height: 100vh;
background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url("bg.jpg");
background-position:center;
background-size:cover;
background-attachment:fixed;
margin-top: 0;
}
#heading{
text-align: center;
color: white;
font-size: 80px;
padding: 180px ;
}
#head2{
text-align: center;
font-size: 50px;
margin: 0 0;
}
.list{
list-style-type: none;
text-align: center;
font-size: 40px;
line-height: 65px;
}
a{
text-decoration: none;
text-underline-offset: none;
color: black;
}
.foods{
background-color: cornsilk;
}
.head3{
text-align: center;
font-size: 35px;
font-weight: 900;
}
.i{
padding-left: 270px;
width: 800px;
height: 400px;
}
.h5{
font-size: 30px;
}
.content{
font-size: 20px;
}
</style>
<body>
<div id="top">
<h1 id="heading">Recipe-Book</h1>
</div>
<section class="Main">
<div class="Recipe-List">
<h2 id="head2">Recipes</h2>
<ul class="list">
<a href="#1"> <li style="background-color: turquoise;">Kesar Pista Phirni</li></a>
<a href="#2"><li style="background-color:tomato">Dum Biryani Risotto</li></a>
<a href="#3"><li style="background-color: burlywood;">Tandoori Blacked Pomfret</li></a>
</ul>
</div>
<div class="foods" id="1">
<h2 class="head3">Kesar Pista Phirni</h2>
<img class="i" src="/1.jpg" >
<p><h3 class="h5">About Kesar Pista Phirni Recipe:</h3></p>
<p class="content"> One Indian dessert that none of us can ever say no to is phirni. A bowl of chilled, nutty and delicious phirni can turn around a day for us. Here's a sugar-free kesar pista phirni that you can try at home this summer season.</p>
<p><h3 class="h5">How to Make Kesar Pista Phirni</h3></p>
<ol class="content">
<li> Bring the milk to a boil in a deep non-stick pan. Lower the heat and simmer, stirring continuously, till it reduces by half.</li>
<li>Add the ground rice, mixed with a little water, and stir well to prevent lumps from forming. Bring the mixture to a boil.</li>
<li>When it starts to thicken, lower the heat and simmer for a couple of minutes, stirring continuously. Add the cardamom powder and saffron, and mix well.</li>
<li> When the mixture attains a thick custard-like consistency, remove from heat and stir in the low-calorie sweetener.</li>
<li>Pour the mixture into 4 individual earthenware bowls while still warm. Sprinkle sliced pistachios and refrigerate for at least 2 hours. Serve chilled.</li>
</ol>
<p><h3 class="h5">Ingredients Of Kesar Pista Phirni</h3></p>
<ul class="content">
<li> A few saffron threads</li>
<li>10-12 pistachios (peeled and sliced), blanched</li>
<li>1 litre skimmed milk</li>
<li>3 tbsp coarsely ground rice</li>
<li>3 tbsp coarsely ground rice</li>
<li>3/4 tbsp green cardamom powder</li>
<li>3 tbsp low-calorie sweetener</li>
</ul>
</div>
<div class="foods" id="2">
<h2 class="head3">Dum Biryani Risotto</h2>
<img class="i" src="/2.jpg" >
<p><h3 class="h5">About Dum Biryani Risotto Recipe:</h3></p>
<p class="content">A delicious mix of Italian risotto with classic Indian biryani masala. Tandoori chicken tossed with risotto along with delectable makhani gravy. This risotto recipe is the perfect dish to serve for a dinner party or weekend brunches at home.</p>
<p><h3 class="h5">How to Make Dum Biryani Risotto</h3></p>
<ol class="content">
<li>Heat a pan and add the oil and butter.</li>
<li>Add onion, garlic, celery, leeks & saute.</li>
<li>Add biryani masala followed by tandoori chicken and saute.</li>
<li>Add 100 gm risotto, mix it well.</li>
<li>Heat another pan add makhani gravy and 50 gm risotto.</li>
<li>Heat another pan add butter, cream and 50 gm risotto.</li>
<li>Transfer risotto into pasta plate.</li>
<li>Garnish with coriander, mint and fried onion.</li>
<li>Serve with lemon wedge.</li>
</ol>
<p><h3 class="h5">Ingredients Of Dum Biryani Risotto</h3></p>
<ul class="content">
<li> 10 gms olive oil</li>
<li>10 gms butter</li>
<li>10 gms garlic , chopped</li>
<li>10 gms onion, chopped</li>
<li>5 gms celery, chopped</li>
<li>5 gms leeks, chopped</li>
<li>15 gms biryani masala</li>
<li>70 gms tandoori chicken</li>
<li>10 gms makhani gravy</li>
<li>1 gms coriander, chopped</li>
<li>1 gms mint, chopped</li>
<li>200 gms risotto</li>
<li>20 gms cream</li>
<li>5 gms salt</li>
<li>1 gms pepper</li>
</ul>
</div>
<div class="foods" id="3">
<h2 class="head3">Tandoori Blacked Pomfret</h2>
<img class="i" src="/3.jpg" >
<p><h3 class="h5">About Tandoori Blacked Pomfret Recipe:</h3></p>
<p class="content">A flavorful Indian-style main dish, inspired by the Cajun style cuisine, tandoori blackened pomfret is an absolutely delicious pick for just about any occasion.</p>
<p><h3 class="h5">How to Make Tandoori Blacked Pomfret</h3></p>
<ol class="content">
<li>Gather the ingredients. Wash the pomfret and clean it. Cut slits into the fish.</li>
<li>Marinate the fish with limejuice, salt, ginger garlic paste.</li>
<li>Mix together the paprika, cayenne, salt, garlic powder, onion powder, thyme, oregano, pepper, cream & hung curd.</li>
<li>Rub over each side of the pomfret.</li>
<li>Preheat the tandoor at 220 degree celsius.</li>
<li>Skewer the fish and cook in covered tandoor.</li>
<li>Grill the pomfret about 5 to 6 minutes on one side, until the seasonings are blackened.</li>
<li>Right before taking the fish out of the tandoor, apply melted butter and lime juice. And put back the fish in tandoor for the final colour and smoky flavor.</li>
<li>Once cooked through, remove the fish from skewer and plate.</li>
<li>Add coriander sprigs,lemon wedges.</li>
<li>Serve with grilled vegetables or your favorite sides.</li>
</ol>
<p><h3 class="h5">Ingredients Of Tandoori Blacked Pomfret</h3></p>
<ul class="content">
<li>1 tsp red chilli powder</li>
<li>1/4 tsp cayenne pepper powder (optional)</li>
<li>1 tsp salt</li>
<li>1/2 tsp garlic powder</li>
<li>1/2 tsp onion powder</li>
<li>1 tsp dried thyme</li>
<li>1 tsp dried oregano</li>
<li>1/2 tsp black pepper</li>
<li>2 tbsp lemon juice</li>
<li>1/2 cup butter</li>
<li>1/4 cup fresh cream</li>
<li>1 tsp chaat masala</li>
<li>450 gms 1 piece pomfret</li>
</ul>
</div>
</section>
</body>
</html>
Images used
name of image:1
name of image:2
name of image:3
name of image:bg
Content file
About Kesar Pista Phirni Recipe: One Indian dessert that none of us can ever say no to is phirni. A bowl of chilled, nutty and delicious phirni can turn around a day for us. Here's a sugar-free kesar pista phirni that you can try at home this summer season!
How to Make Kesar Pista Phirni
1.Bring the milk to a boil in a deep non-stick pan. Lower the heat and simmer, stirring continuously, till it reduces by half.
2.Add the ground rice, mixed with a little water, and stir well to prevent lumps from forming. Bring the mixture to a boil.
3.When it starts to thicken, lower the heat and simmer for a couple of minutes, stirring continuously. Add the cardamom powder and saffron, and mix well.
4.When the mixture attains a thick custard-like consistency, remove from heat and stir in the low-calorie sweetener.
5.Pour the mixture into 4 individual earthenware bowls while still warm. Sprinkle sliced pistachios and refrigerate for at least 2 hours. Serve chilled.
Ingredients Of Kesar Pista Phirni
A few saffron threads
10-12 pistachios (peeled and sliced), blanched
1 litre skimmed milk
3 tbsp coarsely ground rice
3/4 tbsp green cardamom powder
3 tbsp low-calorie sweetener
About Dum Biryani Risotto Recipe: A delicious mix of Italian risotto with classic Indian biryani masala. Tandoori chicken tossed with risotto along with delectable makhani gravy. This risotto recipe is the perfect dish to serve for a dinner party or weekend brunches at home.
How to Make Dum Biryani Risotto
1.Heat a pan and add the oil and butter.
2.Add onion, garlic, celery, leeks & saute.
3.Add biryani masala followed by tandoori chicken and saute.
4.Add 100 gm risotto, mix it well.
5.Heat another pan add makhani gravy and 50 gm risotto.
6.Heat another pan add butter, cream and 50 gm risotto.
7.Transfer risotto into pasta plate.
8.Garnish with coriander, mint and fried onion.
9.Serve with lemon wedge.
Ingredients Of Dum Biryani Risotto
10 gms olive oil
10 gms butter
10 gms garlic , chopped
10 gms onion, chopped
5 gms celery, chopped
5 gms leeks, chopped
15 gms biryani masala
70 gms tandoori chicken
10 gms makhani gravy
1 gms coriander, chopped
1 gms mint, chopped
200 gms risotto
20 gms cream
5 gms salt
1 gms pepper
For garnishing:
10 gms fried onion
10 gms lemon wedges
About Tandoori Blacked Pomfret Recipe: A flavorful Indian-style main dish, inspired by the Cajun style cuisine, tandoori blackened pomfret is an absolutely delicious pick for just about any occasion.
How to Make Tandoori Blacked Pomfret
1.Gather the ingredients. Wash the pomfret and clean it. Cut slits into the fish.
2.Marinate the fish with limejuice, salt, ginger garlic paste.
3.Mix together the paprika, cayenne, salt, garlic powder, onion powder, thyme, oregano, pepper, cream & hung curd.
4.Rub over each side of the pomfret.
5.Preheat the tandoor at 220 degree celsius.
6.Skewer the fish and cook in covered tandoor.
7.Grill the pomfret about 5 to 6 minutes on one side, until the seasonings are blackened.
8.Right before taking the fish out of the tandoor, apply melted butter and lime juice. And put back the fish in tandoor for the final colour and smoky flavor.
9.Once cooked through, remove the fish from skewer and plate.
10.Add coriander sprigs,lemon wedges.
11.Serve with grilled vegetables or your favorite sides.
Ingredients Of Tandoori Blacked Pomfret
1 tsp red chilli powder
1/4 tsp cayenne pepper powder (optional)
1 tsp salt
1/2 tsp garlic powder
1/2 tsp onion powder
1 tsp dried thyme
1 tsp dried oregano
1/2 tsp black pepper
2 tbsp lemon juice
1/2 cup butter
1/4 cup fresh cream
100 gms hung curd
1 tsp chaat masala
1 tsp ginger garlic paste (1 part of ginger 3 parts of garlic)
450 gms 1 piece pomfret
6 Coriander sprigs
Resulting webpage: