-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
185 lines (167 loc) · 7.2 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RADLIBZ</title>
<!-- FOUNDATION CSS LINK -->
<link rel="stylesheet" href="css/foundation.min.css"/>
<!-- OUR CSS LINK -->
<link rel="stylesheet" href="css/style.css">
<!-- <link rel="stylesheet" href="amanda.css"> -->
<!-- QUESTION DISPLAY STYLINGS -->
<style>#question { display: none } .user-word { text-decoration:underline; }</style>
<!-- END GAME SCREEN STYLING -->
<style>#endGame { display: none } </style>
<!-- VOICE OPTION PROMPT STYLING -->
<style>#voicePrompt{ display: none } </style>
</head>
<body>
<!-- NAVBAR -->
<div class="mobile-nav-bar title-bar">
<div class="title-bar-left">
<button class="menu-icon" type="button"></button>
</div>
<div class="title-bar-center">
<img id="small-icon" src="assets/RadLibz-logo-small.png">
</div>
<div class="title-bar-right">
<span class="title-bar-text"><a href="#"><i class="fa fa-home title-bar-logo"></i></a></span>
</div>
</div>
<!-- INTRO SCREEN -->
<div id="intro" class="grid-container">
<div class="card-user-profile">
<!-- PAGE HEADER -->
<img class="card-user-profile-img" src="assets/RadLibz-yellow-back.png" alt="RadLibz Logo with a Yellow Background" />
<div class="card-user-profile-content card-section">
<div class="card-user-profile-avatar">
<img src="assets/hang-loose-emoji.jpg" alt="hang loose emoji" />
</div>
<p class="card-user-profile-name">RadLibz!</p>
<p class="card-user-profile-name">Play MadLibs on the go!</p>
<p class="card-user-profile-info">MadLibs for single-player! No friends? No problem! Fill in the blanks with parts of speech, celebrity names and the like, and have your hilarious new story read back to you in any accent you like!
Ready for a laugh?
</p>
<!-- END PAGE HEADER -->
</div>
<!-- OPTION SELECT -->
<div>
<fieldset class="fieldset">
<legend class="option">Options:</legend>
<div class="row">
<div class="columns small-12">
<input id="checkbox12" type="checkbox"><label for="checkbox12" class="option">Enable Accessability</label>
</div>
<div class="columns small-12">
<input id="checkbox22" type="checkbox"><label for="checkbox22" class="option">Read me a Story!</label>
</div>
</div>
</fieldset>
<!-- END OPTION SELECT -->
</div>
<!-- START BUTTON -->
<div class="card-user-profile-actions">
<button id="playBtn" class="card-user-profile-button button">PLAY!</button>
</div>
</div>
<!-- END INTRO SCREEN -->
</div>
<!-- QUESTION DISPLAY -->
<div id="question" class="gird-container">
<!-- PROGRESS METER -->
<div class="alert progress">
<!-- THIS DISPLAY IS A PLACEHOLDER -->
<div class="progress-meter" style="width: 75%"></div>
</div>
<!-- SUBMISSION PROMPT -->
<div class="card" style="width: 100%">
<div class="text-center">
<div class="card-divider text-center">
<h1>Please enter a</h1>
</div>
<div class="card-section">
<br>
<h1 id="wordTypeContainer"></h1>
<br>
<!-- Displays user submission as typed here -->
<h1>"<input type="text" id="wordInput"/>"</h1>
<div id="wordSuggestion"></div>
</div>
</div>
</div>
<!-- INPUT FIELD -->
<!-- from Amanda's game.JS -->
<!-- <button class="button" id="userWord">Submit</button> -->
<ul class="pagination-pointed pagination text-center" role="navigation" aria-label="Pagination">
<li class="pagination-previous disabled" id="prevBtn">Prev<span class="show-for-sr">page</span></li>
<li id="counter"></li>
<li class="pagination-next"><a class="pagination-pointed-button" href="#" aria-label="Next page" id="nextBtn">Next <span class="show-for-sr">page</span></a></li>
</ul>
<!-- END QUESTION DISPLAY -->
</div>
<!-- VOICE OPTION PROMPT -->
<div id="voicePrompt" class="grid-container">
<!-- COMPLETE PROMPT -->
<div class="card" style="width: 100%">
<div class="card-divider">
<h1>All Done!</h1>
</div>
<div class="card-section">
<p>You finished your story!</p>
<p>Pick a voice from the dropdown list below.</p>
</div>
<!-- ACCENT SUBMIT -->
<div class="card-user-profile-actions">
<select id="voiceselection"></select>
<input type="button" value="Let's Hear It!" id="letsHearIt" class="card-user-profile-button button"/>
</div>
<!-- END COMPLETE PROMPT -->
</div>
<!-- END VOICE OPTION PROMPT -->
</div>
<!-- FINAL SCREEN -->
<div id="endGame" class="grid-container">
<!-- COMPLETED STORY -->
<div class="card" style="width: 100%">
<div class="card-divider">
<h1 id="storyTitle"></h1>
</div>
<div id="showStory" class="card-section">
</div>
<!-- END COMPLETED STORY -->
</div>
<!-- SOCIAL MEDIA BUTTONS -->
<h4 class="text-center">Share your story with friends!</h4>
<div class="clearfix"></div>
<div class="text-center">
<button type="button" class="button social facebook">
<i class="fa fa-facebook" aria-hidden="true"></i> Facebook
</button>
<button type="button" class="button social twitter ">
<i class="fa fa-twitter" aria-hidden="true"></i> Twitter
</button>
<button type="button" class="button social linkedin">
<i class="fa fa-linkedin" aria-hidden="true"></i> Linkedin
</button>
<button type="button" class="button social instagram">
<i class="fa fa-instagram" aria-hidden="true"></i> Instagram
</button>
</div>
<div class="clearfix"></div>
<!-- END FINAL SCREEN -->
</div>
<!-- Foundation JS -->
<script src="js/vendor/jquery.js"></script>
<script src="js/vendor/what-input.js"></script>
<script src="js/vendor/foundation.min.js"></script>
<script>$(document).foundation();</script>
<!-- jQuery CDN -->
<script src="https://code.jquery.com/jquery-3.4.1.js" integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU=" crossorigin="anonymous"></script>
<!-- Test to Speech JS Library -->
<script src="https://code.responsivevoice.org/responsivevoice.js?key=Naly0A17"></script>
<!-- Our JS -->
<script src="js/script.js"></script>
</body>
</html>