-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflowerstats.html
108 lines (97 loc) · 2.79 KB
/
flowerstats.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
<!DOCTYPE HTML>
<html>
<head>
<title>Flower Statistics</title>
<link id='csslink' rel="stylesheet" href="main.css" />
</head>
<script>
function toggleCSS() {
// Obtains the <link> element that links to the css (by using its id).
var currentCSS = document.getElementById('csslink');
// Change the value of href attribute to change the css file.
if (currentCSS.getAttribute('href') == 'main.css') {
currentCSS.setAttribute('href', 'alternate.css');
} else {
currentCSS.setAttribute('href', 'main.css');
}
}
</script>
<header>
<h1>Dopey's Flower Shop</h1>
</header>
<nav class="sticky">
<div>
<ul>
<li><button onclick="location.href = 'index.html';"class="navbutton">Shop</button></li>
<li><button onclick="location.href = 'flowerstats.html';"class="navbutton">Flower Statistics</button></li>
<li><button onclick="location.href = 'bonsaigallery.html';"class="navbutton">Bonsai Gallery</button></li>
<li><button onclick="toggleCSS()" class="navbutton">Switch Style</button></li>
</ul>
</div>
</nav>
<body>
<h2>Flower Statistics</h2>
<div class="centerdiv">
<h4>What flowers do they buy?</h4>
<table class="center">
<tr>
<th>Outdoor Flowers</th>
<th>Fresh Flowers</th>
<th>Flowering Plants</th>
</tr>
<td>46%</td>
<td>34%</td>
<td>20%</td>
<tr>
</tr>
</table>
<h4>What gender buys flowers?</h4>
<table class="center">
<tr>
<th>Men</th>
<th>Women</th>
</tr>
<td>79%</td>
<td>21%</td>
<tr>
</tr>
</table>
<h4>For whom?</h4>
<table class="center">
<tr>
<th>Self</th>
<th>Others</th>
</tr>
<td>63%</td>
<td>37%</td>
<tr>
</tr>
</table>
<h4>For what purpose?</h4>
<table class="center">
<tr>
<th>Special Occasion</th>
<th>No Particular Occasion</th>
</tr>
<td>77%</td>
<td>23%</td>
<tr>
</tr>
</table>
<a href="https://safnow.org/aboutflowers/about-the-flower-industry/consumer-buying-trends/">https://safnow.org/aboutflowers/about-the-flower-industry/consumer-buying-trends/</a>
</div>
</body>
<footer>
<div class="contact">
<a href="https://etsy.com" target="_blank">Etsy</a>
<a href="https://www.nationalgeographic.com/ " target="_blank">National Geograpic</a>
<a href="https://www.metmuseum.org/" target="_blank">The Met</a>
<a href="https://ourworldindata.org/" target="_blank">Our World in Data</a>
<a href="https://artvee.com/" target="_blank">Artvee</a>
</div>
</div>
<div class="copyright">
<p>© 2022 Dylan Batchelor</p>
</div>
</footer>
</html>