"Online Food Delivery Form"
Bootstrap 3.3.0 Snippet by mita

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title> Online Food Delivery Form </title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css" rel="stylesheet" type="text/css">
<link href="custom.css" rel="stylesheet" type="text/css">
<script>
function finalCost(){
var foodItem = document.getElementById("food_item").value;
var specialItemm = document.getElementById("special_item").value;
var foodQuatity = document.getElementById("food_quantity").value;
var deliveryType = document.getElementById("delivery_type").value;
var deliveryArea = document.getElementById("delivery_area").value;
var all_food = (parseInt(foodItem)*7) + (parseInt(specialItemm)*3) + ((foodQuatity)*2) + (parseInt(deliveryType)*4) + (parseInt(deliveryArea)*3)
document.getElementById("result").innerHTML = all_food;
}
function ok_result(){
document.getElementById("okResult").style.display="block";
document.getElementById("okResult").style.backgroundColor="#DCE775";
document.getElementById("input_box").style.display="none";
}
</script>
</head>
<body>
<div class="online_food_delivery_box animated bounceInDown" id="input_box">
<h3> Online Food Delivery Form </h3><br>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
#output {
background-color: #c5edf3;
color: #463c39;
font-size: 17px;
padding: 30px 30px;
width: 40%;
border: 2px solid #009688;
font-family: sans-serif;
line-height: 1.8;
}
#newPublish {
background-color: #c5edf3;
color: #463c39;
font-size: 17px;
padding: 30px 30px;
width: 40%;
border: 2px solid #009688;
font-family: sans-serif;
line-height: 1.8;
}
.box {
background-color: #f7f7f7;
margin-top: 60px;
margin-bottom: 50px;
padding: 40px 60px;
}
#details_info {
background-color: #f7f7f7;
color: #463c39;
font-size: 17px;
padding: 30px 30px;
width: 40%;
border: 1px solid #cccccc;
font-family: sans-serif;
line-height: 1.8;
margin-left: 90px;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: