-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (81 loc) · 4.12 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
<!DOCTYPE html>
<html>
<head>
<title>Hw 6 - Responsive web app</title>
<!-- Stylesheets -->
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="jquery.mobile-1.3.2.min.css" />
<!--Javascript -->
<script src="jquery-2.0.3.min.js"></script>
<script src="jquery.mobile-1.3.2.min.js"></script>
<script src="main.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="container">
<!-- ----------------- INTRO PAGE ----------------- -->
<div data-role="page" id="intro">
<div data-role="header">
<h1>Cereal Rater</h1>
</div><!-- /header -->
<div data-role="content">
<p>Learn about all kinds of cereal and then rate them!</p>
<ul data-role="listview" data-inset="true" data-filter="true">
<li data-role="list-divider" role="heading" class="ui-li ui-li-divider ui-bar-b">Healthy</li>
<li><a href="#cheerios" data-transition="flow">Cheerios</a></li>
<li><a href="honeybunches.html" data-transition="flow">Honey Bunches of Oats</a></li>
<li data-role="list-divider" role="heading" class="ui-li ui-li-divider ui-bar-b">Unhealthy</li>
<li><a href="#capncrunch" data-transition="flow">Cap'n Crunch</a></li>
<li><a href="applejacks.html" data-transition="flow">Apple Jacks</a></li>
<li><a href="ctcrunch.html" data-transition="flow">Cinnamon Toast Crunch</a></li>
</ul>
</div><!-- /content -->
</div><!-- /page -->
<!-- ----------------- Cheerios ----------------- -->
<div data-role="page" id="cheerios">
<div data-role="header">
<h1>Cheerios</h1>
</div><!-- /header -->
<div data-role="content">
<div data-role="collapsible">
<h3>About</h3>
<p>Cheerios is a brand of breakfast cereal manufactured by General Mills introduced on May 1, 1941 originally named CheeriOats. The name was changed to Cheerios in 1945 due to a trade name dispute with Quaker Oats. The name fit the "O" shape of the cereal pieces.</p>
</div>
<div data-role="content">
<label for="slider-step">Rating Meter:</label>
<input type="range" name="slider-step" id="slider-step1" value="50" min="0" max="100" step="25" />
<fieldset>
<button type="button" onclick="rateCereal('1')" data-icon="info">Submit my rating!</button>
</fieldset>
<div id="response1"><h4>I'll eat this cereal.</h4></div>
</div>
</div><!-- /content -->
<div data-role="content">
<a href="#intro" data-role="button" data-icon="arrow-l" data-transition="slide" data-direction="reverse">Back to other cereals</a>
</div>
</div><!-- /page -->
<!-- ----------------- Cap'n Crunch ----------------- -->
<div data-role="page" id="capncrunch">
<div data-role="header">
<h1>Cap'n Crunch</h1>
</div><!-- /header -->
<div data-role="content">
<div data-role="collapsible">
<h3>About</h3>
<p>Cap'n Crunch is a product line of sweetened corn and oat breakfast cereals introduced in 1963 and manufactured by Quaker Oats Company, a division of PepsiCo since 2001.</p>
</div>
<div data-role="content">
<label for="slider-step">Rating Meter:</label>
<input type="range" name="slider-step" id="slider-step2" value="50" min="0" max="100" step="25" />
<fieldset>
<button type="button" onclick="rateCereal('2')" data-icon="info">Submit my rating!</button>
</fieldset>
<div id="response2"><h4>I'll eat this cereal.</h4></div>
</div>
<a href="#intro" data-role="button" data-icon="arrow-l" data-transition="slide" data-direction="reverse">Back to other cereals</a>
<div id="picbox-capncrunch"></div>
</div><!-- /content -->
</div><!-- /page -->
</div>
</body>
</html>