How to make a professional hotel or restaurant website using HTML, CSS, JAVASCRIPT, PHP | HTML Projects | Website Development Projects | Engineering Projects | HOME PAGE OF DAILY MEAL HTML CODE
Save this code as rest2.html and rest2.css in the company folder.
<!DOCTYPE html>
<html>
<head>
<!-------------FAVICON------------------------------>
<link rel="apple-touch-icon" sizes="180x180" href="C:\Users\dell\Documents\rest\css\apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="C:\Users\dell\Documents\rest\css\favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="C:\Users\dell\Documents\rest\css\favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<title> Daily Meal</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body {font-family: "Lato", sans-serif}
.mySlides {display: none}
</style>
</head>
<body>
<!-------------------------------------- Navbar--------------------------------------->
<div class="w3-top">
<div class="w3-bar w3-black w3-card">
<a class="w3-bar-item w3-button w3-padding-large w3-hide-medium w3-hide-large w3-right" href="javascript:void(0)" onclick="myFunction()" title="Toggle Navigation Menu"><i class="fa fa-bars"></i></a>
<!----------------------------logo------------------------------------------>
<a href="#" class="w3-bar-item w3-button w3-padding-large">
<img src="C:\Users\dell\Documents\rest\images\logo.png" alt="Daily Meal logo" width=80 height=80> </img></a>
<a href="C:\Users\dell\Documents\rest\css\rest2.html" class="w3-bar-item w3-button w3-padding-large">HOME</a>
<a href="C:\Users\dell\Documents\rest\css\menus.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">MENUS</a>
<a href="#contact" class="w3-bar-item w3-button w3-padding-large w3-hide-small">CONTACT</a>
<a href="file:///C:/Users/dell/Documents/rest/css/login.html#" class="w3-bar-item w3-button w3-padding-large w3-hide-small">LOGIN</a>
<a href="file:///C:/Users/dell/Documents/rest/css/signup.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">SIGNUP</a>
<div class="w3-dropdown-hover w3-hide-small">
<button class="w3-padding-large w3-button" title="More">MORE <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-card-4">
<a href="C:\Users\dell\Documents\rest\css\terms.html" class="w3-bar-item w3-button"> TERMS AND CONDITIONS</a>
<a href="C:\Users\dell\Documents\rest\css\aboutchefs.html" class="w3-bar-item w3-button">ABOUT CHEFS</a>
<a href="C:\Users\dell\Documents\rest\css\aboutceos.html" class="w3-bar-item w3-button">ABOUT CEO</a>
</div> </div>
<a href="javascript:void(0)" class="w3-padding-large w3-hover-red w3-hide-small w3-right"><i class="fa fa-search"></i></a>
</div>
</div>
<!--------------- ---------------------Navbar on small screens (remove the onclick attribute if you want the navbar to always show on top of the content when clicking on the links) ----------------------->
<div id="navDemo" class="w3-bar-block w3-black w3-hide w3-hide-large w3-hide-medium w3-top" style="margin-top:46px">
<a href="C:\Users\dell\Documents\rest\css\menus.html" class="w3-bar-item w3-button w3-padding-large" onclick="myFunction()">MENUS</a>
<a href="#contact" class="w3-bar-item w3-button w3-padding-large" onclick="myFunction()">CONTACT</a>
</div>
<!-------------------------------------- Page content ------------------------------------------->
<div class="w3-content" style="max-width:2000px;margin-top:46px">
<!------------------------------------- Automatic Slideshow Images ------------------------------>
<div class="mySlides w3-display-container w3-center">
<img src="C:\Users\dell\Documents\rest\images\food1.png" style="width:100%">
<div class="w3-display-bottommiddle w3-container w3-text-white w3-padding-32 w3-hide-small">
<h3>Salad </h3>
<p><b>Be the most healthy you! Start your day with a healthy salad.</b></p>
</div>
</div>
<div class="mySlides w3-display-container w3-center">
<img src="C:\Users\dell\Documents\rest\images\food2.jpg" style="width:100%">
<div class="w3-display-bottommiddle w3-container w3-text-white w3-padding-32 w3-hide-small">
<h3>Pizza</h3>
<p><b>Are you a foodie? We have something nice for you.</b></p>
</div>
</div>
<div class="mySlides w3-display-container w3-center">
<img src="C:\Users\dell\Documents\rest\images\food3.jpg" style="width:100%">
<div class="w3-display-bottommiddle w3-container w3-text-white w3-padding-32 w3-hide-small">
<h3> Vegetables</h3>
<p><b>Get a healthy head start.</b></p>
</div>
</div>
<!--------------------------------------------- What is Daily Meal? --------------------------------------->
<div class="w3-container w3-content w3-center w3-padding-64" style="max-width:800px" id="band">
<h2 class="w3-wide"> Daily Meal</h2>
<p class="w3-opacity"><i>We love serving you!</i></p>
<p class="w3-justify"> Daily Meal is a food centre started by Harsha Navalkar. Our aim is to give the best possible services to our customers.
We always work on customer satisfaction.The meals are made by top chefs in the industry.
The chefs include:</p>
<div class="w3-row w3-padding-32">
<div class="w3-third">
<p> Harsha</p>
<p> Head chef, Daily Meal </p>
<img src="C:\Users\dell\Documents\rest\images\harsha.png" class="w3-round w3-margin-bottom" alt="Random Name" style="width:60%">
</div>
<div class="w3-third">
<p>Disha</p>
<p> Executive chef, Daily Meal </p>
<img src="C:\Users\dell\Documents\rest\images\disha.png" class="w3-round w3-margin-bottom" alt="Random Name" style="width:70%">
</div>
<div class="w3-third">
<p>Nilesh</p>
<p> Executive chef, Daily Meal </p>
<img src="C:\Users\dell\Documents\rest\images\nilesh.png" class="w3-round" alt="Random Name" style="width:55%">
</div>
</div>
</div>
<!------------------------------------------------- Latest offer Dates------------------------------->
<div class="w3-black" id="tour">
<div class="w3-container w3-content w3-padding-64" style="max-width:800px">
<h2 class="w3-wide w3-center">LATEST OFFER DATES</h2>
<p class="w3-opacity w3-center"><i>Remember to book your table!</i></p><br>
<ul class="w3-ul w3-border w3-white w3-text-grey">
<li class="w3-padding">20th of this month <span class="w3-tag w3-red w3-margin-left">Sold out</span></li>
<li class="w3-padding">Foodie Friday <span class="w3-tag w3-red w3-margin-left">Sold out</span></li>
<li class="w3-padding">Toasty Tuesday <span class="w3-badge w3-right w3-margin-right">5</span></li>
</ul>
<div class="w3-row-padding w3-padding-32" style="margin:0 -16px">
<div class="w3-third w3-margin-bottom">
<img src="C:\Users\dell\Documents\rest\images\indian.jpg" alt="Indian cuisine" style="width:100%" class="w3-hover-opacity">
<div class="w3-container w3-white">
<p><b>Indian Cuisine</b></p>
<p class="w3-opacity">Sat 25 AUG 2018</p>
<p>Praesent tincidunt sed tellus ut rutrum sed vitae justo.</p>
<button class="w3-button w3-black w3-margin-bottom" onclick="document.getElementById('ticketModal').style.display='block'">Book your table</button>
</div>
</div>
<div class="w3-third w3-margin-bottom">
<img src="C:\Users\dell\Documents\rest\images\chinese.jpg" alt="Chinese Cuisine" style="width:100%" class="w3-hover-opacity">
<div class="w3-container w3-white">
<p><b>Chinese Cuisine</b></p>
<p class="w3-opacity">Sat 25 AUG 2018</p>
<p>Praesent tincidunt sed tellus ut rutrum sed vitae justo.</p>
<button class="w3-button w3-black w3-margin-bottom" onclick="document.getElementById('ticketModal').style.display='block'">Book your table</button>
</div>
</div>
<div class="w3-third w3-margin-bottom">
<img src="C:\Users\dell\Documents\rest\images\italian.jpg" alt="Italian Cuisine" style="width:100%" class="w3-hover-opacity">
<div class="w3-container w3-white">
<p><b>Italian Cuisine</b></p>
<p class="w3-opacity">Sat 25 AUG 2018</p>
<p>Praesent tincidunt sed tellus ut rutrum sed vitae justo.</p>
<button class="w3-button w3-black w3-margin-bottom" onclick="document.getElementById('ticketModal').style.display='block'">Book your table</button>
</div>
</div>
</div>
</div>
</div>
<!------------------------------------------ Book Now section ------------------------------------------------->
<div id="ticketModal" class="w3-modal">
<div class="w3-modal-content w3-animate-top w3-card-4">
<header class="w3-container w3-teal w3-center w3-padding-32">
<span onclick="document.getElementById('ticketModal').style.display='none'"
class="w3-button w3-teal w3-xlarge w3-display-topright">×</span>
<h2 class="w3-wide"><i class="fa fa-suitcase w3-margin-right"></i>Book your table</h2>
</header>
<div class="w3-container">
<p><label><i class="fa fa-shopping-cart"></i> A table for?(Get 20% off by booking online)</label></p>
<input class="w3-input w3-border" type="text" placeholder="How many?">
<p><label><i class="fa fa-user"></i> your email</label></p>
<input class="w3-input w3-border" type="text" placeholder="Enter email">
<button class="w3-button w3-block w3-teal w3-padding-16 w3-section w3-right">BOOK <i class="fa fa-check"></i></button>
<button class="w3-button w3-red w3-section" onclick="document.getElementById('ticketModal').style.display='none'">Close <i class="fa fa-remove"></i></button>
<p class="w3-right">Need <a href="C:\Users\dell\Documents\rest\css\help.html" class="w3-text-blue">help?</a></p>
</div>
</div>
</div>
<!------------------------------------ The Contact Section ------------------------------------------->
<div class="w3-container w3-content w3-padding-64" style="max-width:800px" id="contact">
<h2 class="w3-wide w3-center">CONTACT</h2>
<p class="w3-opacity w3-center"><i>Order online</i></p>
<div class="w3-row w3-padding-32">
<div class="w3-col m6 w3-large w3-margin-bottom">
<i class="fa fa-map-marker" style="width:30px"></i>Mumbai, India<br>
<i class="fa fa-phone" style="width:30px"></i> Phone: 0123456789<br>
<i class="fa fa-envelope" style="width:30px"> </i> Email: hmail@mail.com<br>
</div>
<div class="w3-col m6">
<form action="/action_page.php" target="_blank">
<div class="w3-row-padding" style="margin:0 -16px 8px -16px">
<div class="w3-half">
<input class="w3-input w3-border" type="text" placeholder="Name" required name="Name">
</div>
<div class="w3-half">
<input class="w3-input w3-border" type="text" placeholder="Email" required name="Email">
</div>
</div>
<input class="w3-input w3-border" type="text" placeholder="Message" required name="Message">
<button class="w3-button w3-black w3-section w3-right" type="submit">SEND</button>
</form>
</div>
</div>
</div>
<!--------------------------------------- End Page Content --------------------------------------------------->
</div>
<!-- Add Google Maps -->
<div id="googleMap" style="height:400px;" class="w3-grayscale-max"></div>
<script>
function myMap() {
myCenter=new google.maps.LatLng(19.0760, 72.8777);
var mapOptions= {
center:myCenter,
zoom:12, scrollwheel: false, draggable: false,
mapTypeId:google.maps.MapTypeId.ROADMAP
};
var map=new google.maps.Map(document.getElementById("googleMap"),mapOptions);
var marker = new google.maps.Marker({
position: myCenter,
});
marker.setMap(map);
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC1EmJnKOo-GMWyZA43srjxBByehr8ud2A&callback=myMap"></script>
<!--
To use this code on your website, get a free API key from Google.
Read more at: https://www.w3schools.com/graphics/google_maps_basic.asp
-->
<!------------------------------------------------ Footer ---------------------------------------------->
<footer class="w3-container w3-padding-64 w3-center w3-opacity w3-light-grey w3-xlarge">
<a href="https://www.facebook.com/Harsha-Navalkar-451869015169946/"> <i class="fa fa-facebook-official w3-hover-opacity"></i> </a>
<a href="https://www.instagram.com/harsha_navalkar/"><i class="fa fa-instagram w3-hover-opacity"> </i></a>
<a href="https://twitter.com/harsha_navalkar"><i class="fa fa-twitter w3-hover-opacity"></i>
<a href="https://www.linkedin.com/in/harsha-navalkar-00085515b/"> <i class="fa fa-linkedin w3-hover-opacity"></i>
<p class="w3-medium">Powered by <a href="http://harshanavalkar.blogspot.com/p/copyright.html" target="_blank">© 2018 Daily Meal</a></p>
</footer>
<!------------------------------------------------ JavaScript ---------------------------------------------->
<script>
// Automatic Slideshow - change image every 4 seconds
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 4000);
}
// Used to toggle the menu on small screens when clicking on the menu button
function myFunction() {
var x = document.getElementById("navDemo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
// When the user clicks anywhere outside of the modal, close it
var modal = document.getElementById('ticketModal');
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</body>
</html>
OUTPUT of Daily Meal Home page will include:
<!DOCTYPE html>
<html>
<head>
<!-------------FAVICON------------------------------>
<link rel="apple-touch-icon" sizes="180x180" href="C:\Users\dell\Documents\rest\css\apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="C:\Users\dell\Documents\rest\css\favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="C:\Users\dell\Documents\rest\css\favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<title> Daily Meal</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body {font-family: "Lato", sans-serif}
.mySlides {display: none}
</style>
</head>
<body>
<!-------------------------------------- Navbar--------------------------------------->
<div class="w3-top">
<div class="w3-bar w3-black w3-card">
<a class="w3-bar-item w3-button w3-padding-large w3-hide-medium w3-hide-large w3-right" href="javascript:void(0)" onclick="myFunction()" title="Toggle Navigation Menu"><i class="fa fa-bars"></i></a>
<!----------------------------logo------------------------------------------>
<a href="#" class="w3-bar-item w3-button w3-padding-large">
<img src="C:\Users\dell\Documents\rest\images\logo.png" alt="Daily Meal logo" width=80 height=80> </img></a>
<a href="C:\Users\dell\Documents\rest\css\rest2.html" class="w3-bar-item w3-button w3-padding-large">HOME</a>
<a href="C:\Users\dell\Documents\rest\css\menus.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">MENUS</a>
<a href="#contact" class="w3-bar-item w3-button w3-padding-large w3-hide-small">CONTACT</a>
<a href="file:///C:/Users/dell/Documents/rest/css/login.html#" class="w3-bar-item w3-button w3-padding-large w3-hide-small">LOGIN</a>
<a href="file:///C:/Users/dell/Documents/rest/css/signup.html" class="w3-bar-item w3-button w3-padding-large w3-hide-small">SIGNUP</a>
<div class="w3-dropdown-hover w3-hide-small">
<button class="w3-padding-large w3-button" title="More">MORE <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-card-4">
<a href="C:\Users\dell\Documents\rest\css\terms.html" class="w3-bar-item w3-button"> TERMS AND CONDITIONS</a>
<a href="C:\Users\dell\Documents\rest\css\aboutchefs.html" class="w3-bar-item w3-button">ABOUT CHEFS</a>
<a href="C:\Users\dell\Documents\rest\css\aboutceos.html" class="w3-bar-item w3-button">ABOUT CEO</a>
</div> </div>
<a href="javascript:void(0)" class="w3-padding-large w3-hover-red w3-hide-small w3-right"><i class="fa fa-search"></i></a>
</div>
</div>
<!--------------- ---------------------Navbar on small screens (remove the onclick attribute if you want the navbar to always show on top of the content when clicking on the links) ----------------------->
<div id="navDemo" class="w3-bar-block w3-black w3-hide w3-hide-large w3-hide-medium w3-top" style="margin-top:46px">
<a href="C:\Users\dell\Documents\rest\css\menus.html" class="w3-bar-item w3-button w3-padding-large" onclick="myFunction()">MENUS</a>
<a href="#contact" class="w3-bar-item w3-button w3-padding-large" onclick="myFunction()">CONTACT</a>
</div>
<!-------------------------------------- Page content ------------------------------------------->
<div class="w3-content" style="max-width:2000px;margin-top:46px">
<!------------------------------------- Automatic Slideshow Images ------------------------------>
<div class="mySlides w3-display-container w3-center">
<img src="C:\Users\dell\Documents\rest\images\food1.png" style="width:100%">
<div class="w3-display-bottommiddle w3-container w3-text-white w3-padding-32 w3-hide-small">
<h3>Salad </h3>
<p><b>Be the most healthy you! Start your day with a healthy salad.</b></p>
</div>
</div>
<div class="mySlides w3-display-container w3-center">
<img src="C:\Users\dell\Documents\rest\images\food2.jpg" style="width:100%">
<div class="w3-display-bottommiddle w3-container w3-text-white w3-padding-32 w3-hide-small">
<h3>Pizza</h3>
<p><b>Are you a foodie? We have something nice for you.</b></p>
</div>
</div>
<div class="mySlides w3-display-container w3-center">
<img src="C:\Users\dell\Documents\rest\images\food3.jpg" style="width:100%">
<div class="w3-display-bottommiddle w3-container w3-text-white w3-padding-32 w3-hide-small">
<h3> Vegetables</h3>
<p><b>Get a healthy head start.</b></p>
</div>
</div>
<!--------------------------------------------- What is Daily Meal? --------------------------------------->
<div class="w3-container w3-content w3-center w3-padding-64" style="max-width:800px" id="band">
<h2 class="w3-wide"> Daily Meal</h2>
<p class="w3-opacity"><i>We love serving you!</i></p>
<p class="w3-justify"> Daily Meal is a food centre started by Harsha Navalkar. Our aim is to give the best possible services to our customers.
We always work on customer satisfaction.The meals are made by top chefs in the industry.
The chefs include:</p>
<div class="w3-row w3-padding-32">
<div class="w3-third">
<p> Harsha</p>
<p> Head chef, Daily Meal </p>
<img src="C:\Users\dell\Documents\rest\images\harsha.png" class="w3-round w3-margin-bottom" alt="Random Name" style="width:60%">
</div>
<div class="w3-third">
<p>Disha</p>
<p> Executive chef, Daily Meal </p>
<img src="C:\Users\dell\Documents\rest\images\disha.png" class="w3-round w3-margin-bottom" alt="Random Name" style="width:70%">
</div>
<div class="w3-third">
<p>Nilesh</p>
<p> Executive chef, Daily Meal </p>
<img src="C:\Users\dell\Documents\rest\images\nilesh.png" class="w3-round" alt="Random Name" style="width:55%">
</div>
</div>
</div>
<!------------------------------------------------- Latest offer Dates------------------------------->
<div class="w3-black" id="tour">
<div class="w3-container w3-content w3-padding-64" style="max-width:800px">
<h2 class="w3-wide w3-center">LATEST OFFER DATES</h2>
<p class="w3-opacity w3-center"><i>Remember to book your table!</i></p><br>
<ul class="w3-ul w3-border w3-white w3-text-grey">
<li class="w3-padding">20th of this month <span class="w3-tag w3-red w3-margin-left">Sold out</span></li>
<li class="w3-padding">Foodie Friday <span class="w3-tag w3-red w3-margin-left">Sold out</span></li>
<li class="w3-padding">Toasty Tuesday <span class="w3-badge w3-right w3-margin-right">5</span></li>
</ul>
<div class="w3-row-padding w3-padding-32" style="margin:0 -16px">
<div class="w3-third w3-margin-bottom">
<img src="C:\Users\dell\Documents\rest\images\indian.jpg" alt="Indian cuisine" style="width:100%" class="w3-hover-opacity">
<div class="w3-container w3-white">
<p><b>Indian Cuisine</b></p>
<p class="w3-opacity">Sat 25 AUG 2018</p>
<p>Praesent tincidunt sed tellus ut rutrum sed vitae justo.</p>
<button class="w3-button w3-black w3-margin-bottom" onclick="document.getElementById('ticketModal').style.display='block'">Book your table</button>
</div>
</div>
<div class="w3-third w3-margin-bottom">
<img src="C:\Users\dell\Documents\rest\images\chinese.jpg" alt="Chinese Cuisine" style="width:100%" class="w3-hover-opacity">
<div class="w3-container w3-white">
<p><b>Chinese Cuisine</b></p>
<p class="w3-opacity">Sat 25 AUG 2018</p>
<p>Praesent tincidunt sed tellus ut rutrum sed vitae justo.</p>
<button class="w3-button w3-black w3-margin-bottom" onclick="document.getElementById('ticketModal').style.display='block'">Book your table</button>
</div>
</div>
<div class="w3-third w3-margin-bottom">
<img src="C:\Users\dell\Documents\rest\images\italian.jpg" alt="Italian Cuisine" style="width:100%" class="w3-hover-opacity">
<div class="w3-container w3-white">
<p><b>Italian Cuisine</b></p>
<p class="w3-opacity">Sat 25 AUG 2018</p>
<p>Praesent tincidunt sed tellus ut rutrum sed vitae justo.</p>
<button class="w3-button w3-black w3-margin-bottom" onclick="document.getElementById('ticketModal').style.display='block'">Book your table</button>
</div>
</div>
</div>
</div>
</div>
<!------------------------------------------ Book Now section ------------------------------------------------->
<div id="ticketModal" class="w3-modal">
<div class="w3-modal-content w3-animate-top w3-card-4">
<header class="w3-container w3-teal w3-center w3-padding-32">
<span onclick="document.getElementById('ticketModal').style.display='none'"
class="w3-button w3-teal w3-xlarge w3-display-topright">×</span>
<h2 class="w3-wide"><i class="fa fa-suitcase w3-margin-right"></i>Book your table</h2>
</header>
<div class="w3-container">
<p><label><i class="fa fa-shopping-cart"></i> A table for?(Get 20% off by booking online)</label></p>
<input class="w3-input w3-border" type="text" placeholder="How many?">
<p><label><i class="fa fa-user"></i> your email</label></p>
<input class="w3-input w3-border" type="text" placeholder="Enter email">
<button class="w3-button w3-block w3-teal w3-padding-16 w3-section w3-right">BOOK <i class="fa fa-check"></i></button>
<button class="w3-button w3-red w3-section" onclick="document.getElementById('ticketModal').style.display='none'">Close <i class="fa fa-remove"></i></button>
<p class="w3-right">Need <a href="C:\Users\dell\Documents\rest\css\help.html" class="w3-text-blue">help?</a></p>
</div>
</div>
</div>
<!------------------------------------ The Contact Section ------------------------------------------->
<div class="w3-container w3-content w3-padding-64" style="max-width:800px" id="contact">
<h2 class="w3-wide w3-center">CONTACT</h2>
<p class="w3-opacity w3-center"><i>Order online</i></p>
<div class="w3-row w3-padding-32">
<div class="w3-col m6 w3-large w3-margin-bottom">
<i class="fa fa-map-marker" style="width:30px"></i>Mumbai, India<br>
<i class="fa fa-phone" style="width:30px"></i> Phone: 0123456789<br>
<i class="fa fa-envelope" style="width:30px"> </i> Email: hmail@mail.com<br>
</div>
<div class="w3-col m6">
<form action="/action_page.php" target="_blank">
<div class="w3-row-padding" style="margin:0 -16px 8px -16px">
<div class="w3-half">
<input class="w3-input w3-border" type="text" placeholder="Name" required name="Name">
</div>
<div class="w3-half">
<input class="w3-input w3-border" type="text" placeholder="Email" required name="Email">
</div>
</div>
<input class="w3-input w3-border" type="text" placeholder="Message" required name="Message">
<button class="w3-button w3-black w3-section w3-right" type="submit">SEND</button>
</form>
</div>
</div>
</div>
<!--------------------------------------- End Page Content --------------------------------------------------->
</div>
<!-- Add Google Maps -->
<div id="googleMap" style="height:400px;" class="w3-grayscale-max"></div>
<script>
function myMap() {
myCenter=new google.maps.LatLng(19.0760, 72.8777);
var mapOptions= {
center:myCenter,
zoom:12, scrollwheel: false, draggable: false,
mapTypeId:google.maps.MapTypeId.ROADMAP
};
var map=new google.maps.Map(document.getElementById("googleMap"),mapOptions);
var marker = new google.maps.Marker({
position: myCenter,
});
marker.setMap(map);
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC1EmJnKOo-GMWyZA43srjxBByehr8ud2A&callback=myMap"></script>
<!--
To use this code on your website, get a free API key from Google.
Read more at: https://www.w3schools.com/graphics/google_maps_basic.asp
-->
<!------------------------------------------------ Footer ---------------------------------------------->
<footer class="w3-container w3-padding-64 w3-center w3-opacity w3-light-grey w3-xlarge">
<a href="https://www.facebook.com/Harsha-Navalkar-451869015169946/"> <i class="fa fa-facebook-official w3-hover-opacity"></i> </a>
<a href="https://www.instagram.com/harsha_navalkar/"><i class="fa fa-instagram w3-hover-opacity"> </i></a>
<a href="https://twitter.com/harsha_navalkar"><i class="fa fa-twitter w3-hover-opacity"></i>
<a href="https://www.linkedin.com/in/harsha-navalkar-00085515b/"> <i class="fa fa-linkedin w3-hover-opacity"></i>
<p class="w3-medium">Powered by <a href="http://harshanavalkar.blogspot.com/p/copyright.html" target="_blank">© 2018 Daily Meal</a></p>
</footer>
<!------------------------------------------------ JavaScript ---------------------------------------------->
<script>
// Automatic Slideshow - change image every 4 seconds
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 4000);
}
// Used to toggle the menu on small screens when clicking on the menu button
function myFunction() {
var x = document.getElementById("navDemo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
// When the user clicks anywhere outside of the modal, close it
var modal = document.getElementById('ticketModal');
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</body>
</html>
OUTPUT of Daily Meal Home page will include:
Slideshow of images(star food items) |
|
Latest Offers of Daily Meal Hotel |
Latest Offers of Daily Meal Hotel |
Contact Daily Meal to give feedback/suggestions/compliments/complaints |
Location of Daily Meal on Google Maps |
|
Daily Meal Hotel Website Development Project
HTML Code of Terms and Conditions Page of Daily Meal Hotel.
HTML Code of Signup Page of Daily Meal Hotel.
HTML Code of Login Page of Daily Meal Hotel.
HTML Code of Menus Page for Daily Meal Hotel
HTML Code of About CEO Page for Daily Meal Hotel
HTML Code of About Chefs Page for Daily Meal Hotel
HTML Code of Help Page for Daily Meal Hotel
HTML Code of Signup Page of Daily Meal Hotel.
HTML Code of Login Page of Daily Meal Hotel.
HTML Code of Menus Page for Daily Meal Hotel
HTML Code of About CEO Page for Daily Meal Hotel
HTML Code of About Chefs Page for Daily Meal Hotel
HTML Code of Help Page for Daily Meal Hotel