-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
155 lines (141 loc) · 6.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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com.css? family=Poppins&display=swap" ref="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js"></script>
<title>Random Quote Generator</title>
</head>
<body>
<div class="container">
<h2 class="heading">RANDOM QUOTES GENERATOR</h2>
<nav>
<ul class="navigationLink">
<li class="navMenu randomClass active" data-function="atRandom">AT RANDOM
<div class="nav--item__border"></div>
</li>
<li class="navMenu genreClass" data-function="byGenre">BY GENRE
<div class="nav--item__border"></div>
</li>
<li class="navMenu authorClass" data-function="byAuthor">BY AUTHOR
<div class="nav--item__border"></div>
</li>
</ul>
</nav>
<div class="selections byRandom" id="byRandomDiv">
<div class="secondChoice">
<h3>Amount to Generate:</h3>
<select id="randomNo">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</div>
</div>
<div class="selections byGenre" id="byGenreDiv">
<div class="firstChoice">
<h3>Select Genre:</h3>
<select id="genreSelect">
</select>
</div>
<div class="secondChoice">
<h3>Amount to Generate:</h3>
<select id="genreNo">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</div>
</div>
<div class="selections byAuthor" id="byAuthorDiv">
<div class="firstChoice">
<h3>Select Author:</h3>
<select id="authorSelect">
</select>
</div>
<div class="secondChoice">
<h3>Amount to Generate:</h3>
<select id="authorNo">
<!-- <option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option> -->
</select>
</div>
</div>
<div class="btnDiv">
<button class="generateBtn btn-13">Generate</button>
</div>
<div id="fetchInfo"><h2>Showing 6 Quotes</h2></div>
<div class="result">
<!-- <div class="quotes">
<div class="quoteContent">
<h4>It is in your moments of decision that your destiny is shaped.</h4>
<p>-Tony Robbins</p>
</div>
</div>
<div class="quotes">
<div class="quoteContent">
<h4>It is in your moments of decision that your destiny is shaped.</h4>
<p>-Tony Robbins</p>
</div>
</div>
<div class="quotes">
<div class="quoteContent">
<h4>It is in your moments of decision that your destiny is shaped.</h4>
<p>-Tony Robbins</p>
</div>
</div>
<div class="quotes">
<div class="quoteContent">
<h4>It is in your moments of decision that your destiny is shaped.</h4>
<p>-Tony Robbins</p>
</div>
</div>
<div class="quotes">
<div class="quoteContent">
<h4>It is in your moments of decision that your destiny is shaped.</h4>
<p>-Tony Robbins</p>
</div>
</div>
<div class="quotes">
<div class="quoteContent">
<h4>It is in your moments of decision that your destiny is shaped. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eaque dolorem qui at sunt, repellendus impedit nostrum incidunt ducimus distinctio laboriosam rem expedita amet alias ab. Magnam voluptatem nesciunt rem maxime.</h4>
<p>-Tony Robbins</p>
</div>
</div>
<div class="quotes">
<div class="quoteContent">
<h4>It is in your moments of decision that your destiny is shaped.</h4>
<p>-Tony Robbins</p>
</div>
</div> -->
</div>
</div>
<script src="script.js"></script>
</body>
</html>