-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (90 loc) · 4.42 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project 1</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Courgette&display=swap" rel="stylesheet">
</head>
<body>
<header><h1>That's the Spirit</h1></header>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="dropdown">
<!-- Main Start Dropdown Menu -->
<button class="btn btn-default dropdown-toggle btn-prompt" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
How would you like us to make your drink?
<span class="caret"></span>
</button>
<!-- Dropdown Options -->
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li id="ingredient"><button type="button" class="btn btn-secondary btn-lg btn-block">With a specific ingredient</button></li>
<li id="category"><button type="button" class="btn btn-secondary btn-lg btn-block">This Category</button></li>
<li id="random"><button type="button" class="btn btn-secondary btn-lg btn-block">Random!</button></li>
</ul>
</div>
<!-- Where dynamically-created second set of questions will go -->
<div class="stepTwo-container"></div>
</div>
</div>
<!-- Results, first row will show -->
<div class="row row-1" style="display:none">
<div class="col-sm-12">
<!-- Only one column for subheader-->
<h3 class="enjoy withBackground rounded"> Enjoy!</h3>
</div>
</div>
<!-- Row 2 to house the results -->
<div class="row row-2">
<div class="col-sm-7">
<!-- Column 2 container displays the suggested drink -->
<div class="drink-container withBackground rounded" style="display:none">
<!-- Dynamic H3 -->
<h3 class="your-drink"></h3>
<!-- Dynamic Image -->
<div class="drink-image"></div>
<img src="" class="drinkImg img-fluid clearfix">
<!-- Glass Type -->
<h5 class="title"><strong>Glass Type</strong></h5>
<p class="glass-type"></p>
<!-- Ingredients List -->
<h5 class="title"><strong>Ingredients</strong></h5>
<ul class="ingredient-list"></ul>
<!-- Instructions -->
<h5 class="title"><strong>Instructions</strong></h5>
<p class="instructions"></p>
</div>
</div>
<div class="col-sm-5">
<!-- Column 1 container displays the suggested playlist -->
<div class="spotify-container withBackground rounded" style="display:none">
<h3 class="your-playlist">A Playlist You Might Like:</h3>
<!-- Cover Image From AJAX Response -->
<div class="coverImg"></div>
<!-- Playlist description from the AJAX Response -->
<h5 class="playlist-description"></h5>
<!-- Actual Playlist widget -->
<div class="playlist"></div>
</div>
</div>
</div>
<!-- For future dev, another row container that displays the next 3 drink options returned from the AJAX response-->
<div class="row row-3">
<div class="col-sm-12 withBackground rounded" style="display: none">
<div class="moreDrinks-container">
<h3>More Drinks You Might Like</h3>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/120c3490b3.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="script.js"></script>
</body>
</html>