-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathingredient.html
More file actions
66 lines (55 loc) · 2.49 KB
/
ingredient.html
File metadata and controls
66 lines (55 loc) · 2.49 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
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
65
66
<!-- Mark Drecoll -->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- import google icon font, materialize, our style sheet, materialize style sheets, jQuery -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="assets/css/materialize.min.css" media="screen,projection" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./assets/css/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
</head>
<body class="center-align grey lighten-3">
<!-- materialize nav bar -->
<nav>
<div class="nav-wrapper grey darken-2">
<a href="index.html" class="brand-logo right"><img height="60px" width="60px"
src="assets/images/drinkUpp_logo.png" alt="drinkUpp Logo"></img></a>
<ul id="nav-mobile" class="left">
<li><a href="ingredient.html">Search By Ingredient</a></li>
<li><a href="random.html">Random Drinks</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
</div>
</nav>
<!-- simple display heading for user -->
<header>
<h5>Enter an ingredient you have to see a list of all drinks that contain that ingredient.</h3>
</header>
<!-- Modal Structure -->
<div id="modal1" class="modal">
<div class="modal-content">
<h4>Instructions</h4>
<div id="modalText"></div>
<!-- <p id="modalText"></p> -->
</div>
<div class="modal-footer">
<a href="#!" id="userDoneWithInstructionsButton" class="modal-close waves-effect waves-green btn-flat">Done</a>
</div>
</div>
<!-- textbox for user to enter ingredient and search button to perform the search -->
<div id="userInputDiv" class="center-align">
<input class='grey lighten-2' type='text' id='userInputIngredient' class="center-align"></input><br><br><button
id='ingredientButton' class="center-align">Search</button>
</div>
<table>
<!-- table body for displaying API data retrieved -->
<tbody id="drinkTable"></tbody>
</table>
<!--JavaScript at end of body for optimized loading-->
<script src="./assets/js/searchByIngredientScript.js"></script>
</body>
</html>