Restaurant HTML You will use Brackets to create a web page for a fictional resta
ID: 3787252 • Letter: R
Question
Restaurant HTML
You will use Brackets to create a web page for a fictional restaurant. NOTE: you are not expected to work on any styling, this assignment is about structure and using good semantic HTML.
Requirements
In a file named menu.html you will create a menu for a restaurant.
Your menu page must contain the following:
Of course, the top of the menu should minimally contain the name of the restaurant.
At least 4 categories of dishes, e.g. appetizers, salad, chicken, vegetarian.
Each category must have a list of at least 3 dishes. Each dish should have a name and description/ingredients.
You must have a total of 15 dishes across the categories.
Each category must have a brief description.
You must also include a separate section with a table containing a "Chinese menu," e.g one from Column A, 2 from Column B, etc. (the exact numbering is up to you).
You must have 3 categories in your "Chinese menu" section.
Your "Chinese menu" section must have at least 11 options, for example, 2 categories with 4 items, 1 category with 3 items.
Each category/section must have its own header.
You must have navigation section on the menu with links to each category/section in your menu.
You must have at least 4 pictures/images on your menu.
Use of good semantic markup is required.
Your page must include a location image generated dynamically via Google's Static Map API (https://developers.google.com/maps/documentation/static-maps/intro (Links to an external site.)) OR Google's Static Street View API (https://developers.google.com/maps/documentation/streetview/ (Links to an external site.)). NOTE: You should be able to get away without an API key.
Your page must pass validation as HTML5 by the HTML validator (https://validator.w3.org/ (Links to an external site.))
NOTE: Do not use lorem text instead of actual words
Explanation / Answer
HTML:
This is the basic skeletal structure of our restaurant menu, it is obviously the most essential.
div class="menu-body">
<div class="menu-item">
<div class="menu-item-name">
Spring Rolls
</div>
<div class="menu-item-price">
$50
</div>
</div>
</div>
These items will each have a div of their own, and will all have the class of ‘menu-item’. This will make it easy for us to use CSS for styling all the items together in one go.
Each menu item has two sub-components of name and price. These have the classes of ‘menu-item-name’ and ‘menu-item-price’ respectively.
<!DOCTYPE html>
<head>
<title>Welcome to NATURE RESTAURENT </title>
link type="text/css"rel="stylesheet" href="STYLES2.css"media="screen">
</head>
<body>
<div class="menu-body">
<!-- Section starts: Appetizers -->
<div class="menu-section">
<h2 class="menu-section-title">MAIN COURSE</h2>
<!-- Item starts -->
<div class="menu-item">
<div class="menu-item-name">
Spring rolls
</div>
<div class="menu-item-price">
$50
</div>
<div class="menu-item-description">
Egg roll or side of fried crab wontons .The wrapping usually made with rice flour.
</div>
</div>
<!-- Item ends -->
<!-- Item starts -->
<div class="menu-item">
<div class="menu-item-name">
Gong Boa chicken
</div>
<div class="menu-item-price">
$150
</div>
<div class="menu-item-description">
Spicy stir fry dish made with chicken peanuts, vegetables and pepper
</div>
</div>
<!-- Item ends -->
<!-- Item starts -->
<div class="menu-item">
<div class="menu-item-name">
Wonton
</div>
<div class="menu-item-price">
$230
</div>
<div class="menu-item-description">
Large bowl ,add the meat , ginger, garlic, sauce mix
</div>
</div>
<!-- Item ends -->
In the same way we can add as many dishes we needed to include
<!-- Section ends: Appetizers -->
<!-- Section starts: Drinks -->
<div class="menu-section">
<h2 class="menu-section-title">DRINKS</h2>
<!-- Item starts -->
<div class="menu-item">
<div class="menu-item-name">
Lemon juice
</div>
<div class="menu-item-price">
$30
</div>
</div>
<!-- Item ends -->
<!-- Item starts -->
<div class="menu-item">
<div class="menu-item-name">
Apple Juice </div>
<div class="menu-item-price">
$50
</div>
</div>
<!-- Item ends -->
<!-- Item starts -->
<div class="menu-item">
<div class="menu-item-name">
Melon juice
</div>
<div class="menu-item-price">
$30
</div>
</div>
<!-- Item ends -->
<dt>melted vanilla pod ice cream poured over brutti ma buoni cookies,</dt> <dt>espresso, and a shot of frangelico</dt>
</dl>
<dt>Banana Republic €5</dt>
<dt>Vanilla ice cream wedged between fresh banana and smothered in chocolate sauce, fresh cream and nuts.</dt>
</dl>
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.