forked from cindydude/Restaurant-Lab-Exercises
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathJavascriptLab1_Restaurant_Code.html
More file actions
29 lines (26 loc) · 1.02 KB
/
JavascriptLab1_Restaurant_Code.html
File metadata and controls
29 lines (26 loc) · 1.02 KB
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
<!DOCTYPE html>
<head>
<!-- Adding Boostrap core CSS for the dropdown customization -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<div class="col-md-10">
<!-- This is the first dropdown box with values you can update -->
<select class="form-control" id="box1">
<option><a href="javascript:void(0);">BREAKFAST</a></option>
<option><a href="javascript:void(0);">LUNCH</a></option>
<option><a href="javascript:void(0);">DINNER</a></option>
</select>
<!-- This is the second dropdown box with values you can update -->
<select class="form-control" id="box2">
<option><a href="javascript:void(0);">BOSTON</a></option>
<option><a href="javascript:void(0);">CHICAGO</a></option>
<option><a href="javascript:void(0);">NEW YORK</a></option>
</select>
</div>
</div>
<!-- Linking to JS code to enable the user selection effect-->
<script type="text/javascript" src="JavascriptLab1_userselection.js"></script>
</body>
</html>