-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (47 loc) · 2.04 KB
/
index.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<title>Our Favorite Restaurants</title>
</head>
<body>
<div class="container">
<div class="centerform">
<h1>Our Favorite Restaurants</h1>
<form id="new-restaurant-form">
<input type="text" name="restaurant-name" id="new-restaurant-name" placeholder="Restaurant Name" />
<input type="text" name="restaurant-city" id="new-restaurant-city" placeholder="Restaurant City" />
<input type="text" name="restaurant-state" id="new-restaurant-state" placeholder="Restaurant State" />
<input type="submit" value="Save Restaurant" />
</form><br>
<h1>Add Your Favorite Dish</h1>
<form id="new-dish-form">
<label for="restaurant-list">Choose A Restaurant:</label>
<select id="restaurant-list">
<option value="" disabled selected hidden>Restaurants</option>
</select>
<input type="text" name="dish-name" id="new-dish-name" placeholder="Favorite Dish Name" />
<button id="dishBtn">
Add Dish
</button><br>
</form><br>
</div>
<div id="restaurants-container">
</div><br>
<button id="sort">
Sort Alphabetically
</button>
</div>
<script src="src/components/dish.js"> </script>
<script src="src/components/dishes.js"> </script>
<script src="src/components/restaurant.js"> </script>
<script src="src/components/restaurants.js"> </script>
<script src="src/adapters/RestaurantsAdapter.js"> </script>
<script src="src/adapters/DishesAdapter.js"> </script>
<script src="src/components/app.js"> </script>
<script src="src/index.js"> </script>
</body>
</html>