Skip to content
Open
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
70 changes: 70 additions & 0 deletions CSS- Restaurant menu/restaurant.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html>
<head>
<title>TastyBite</title>
<link rel="stylesheet" href="restaurantstyle.css">
<body>
<nav class="navbar">
<div class="tastebite">TastyBite</div>
<ul>
<a href="contact.html"><li id="contact">Contact</li></a>
<a href="booking.html"><li id="booking">Booking</li></a>
<a href="menu.html"><li id="menu">Menu</li></a>
<a href="home.html"><li id="home">Home</li></a>

</ul>
</nav>
</div>

<header>
<h3>Welcome to TastyBite</h3>
<h4>Delicious food. Cozy vibes.</h4>
</header>

<main>

<h3>Our Menu</h3>
<dl>
<dt id="food">Margherita Pizza</dt>
<dd id="pizzaD">Classic tomato and cheese <br>
$10</dd>

<dt id="food">Pasta Alfredo</dt>
<dd id="pastaD">Rich & Creamy<br>
$12</dd>

<dt id="food">Cheesecake</dt>
<dd id="cheesecakeD">Served chilled<br>
$6</dd><br><br>
</dl>

<h3>Book a Table</h3>
<form method="post" action="form.php">
<label for="name"></label>
<input id="name" type="text" placeholder="Your Name"><br>

<label for="date"></label>
<input id="date" type="date"><br>

<label for="time"></label>
<input id="time" type="time"><br>

<label for="guests"></label>
<input id="guests" type="number" placeholder="Guests"><br>

<button>
Book Now
</button>
</form><br><br>

<h3>Customer Reviews</h3>
<p>"Amazing food and great ambience!"-Sarah</p>
<p>"The best pasta I've ever had!"-John</p>
</main>
<footer>
Visit us at:123 Food Street, Delhi| Contact:8890477291
</footer>

</body>
</head>
</html>
128 changes: 128 additions & 0 deletions CSS- Restaurant menu/restaurantstyle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
*{
margin:0px;
padding:0px;
box-sizing: border-box;
}
body{
margin:0px;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
.navbar{
background-color: rgb(52, 52, 52);
justify-content: space-between;
display:flex;
align-items:center;
padding:10px 20px;
}
.navbar ul{
list-style-type: none;
overflow:hidden;
}
.navbar a{
color:white;
text-decoration: none;
float:right;
margin:0px;
margin-bottom:10px;
margin-top:0px;
font-size:20px;
margin-right:10px;
}
.navbar .tastebite{
color:white;
margin-left:30px;
font-size:40px;
}
.navbar a:hover{
background-color: grey;
}

header{
background-color: rgb(222, 221, 221);
text-align:center;
height:150px;
padding:40px;
}
header h3{
font-size:30px;
}
header h4{
font-size:20px;
margin-top: 10px;
}

main{
margin:30px;
}
h3{
font-size:25px;
}
#food{
font-weight:bold;
margin-top:5px;
font-size:20px;
}

#name{
width:100vh;
height:4vh;
margin-top:5px;
margin-bottom:5px;
border-radius:3px;
border-width: 3px;
border-color: rgb(65, 64, 64);
padding:10px;
}

#date{
width:100vh;
height:4vh;
margin-top:5px;
margin-bottom:5px;
border-radius:3px;
border-width: 3px;
border-color: rgb(65, 64, 64);
padding:10px;
}

#time{
width:100vh;
height: 4vh;
margin-top:5px;
margin-bottom:5px;
border-radius:3px;
border-width: 3px;
border-color: rgb(65, 64, 64);
padding:10px;
}

#guests{
width:100vh;
height:4vh;
margin-top:5px;
margin-bottom:5px;
border-radius:3px;
border-width: 3px;
border-color: rgb(65, 64, 64);
padding:10px;
}

button{
font-size:15px;
padding:5px;
}
button:hover{
background-color:rgb(209, 205, 205);
}

p{
font-size:20px;
font-style:italic
}

footer{
background-color: rgb(77, 76, 76);
text-align:center;
color:white;
padding:5px;
}