-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
152 lines (130 loc) · 4.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | [Challenge Name Here]</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body id="dark" class="dark-mode">
<header>
<div class="container">
<div class="text">
<h1>Social Media Dashboard</h1>
<h4>Total Followers: 23,004</h4>
</div>
<hr>
<span class="dark-mode-toggle">
<lable for='toggle-button'>Dark Mode</lable>
<input type="checkbox" id="toggle-button" name="toggle-button" onclick="toggleClass()" />
</span>
</span>
</div>
</header>
<main>
<div class="container grid">
<div class="box facebook">
<div>
<img src="images/icon-facebook.svg" alt="facebook logo">@nathanf
</div>
<h1>1987</h1>
<span class="followers">Followers</span>
<span class="today up">
12 Today
</span>
</div>
<div class="box twitter">
<div>
<img src="images/icon-twitter.svg" alt="twitter logo">@nathanf
</div>
<h1>1044</h1>
<span class="followers">Followers</span>
<span class="today up">
99 Today
</span>
</div>
<div class="box instagram">
<div>
<img src="images/icon-instagram.svg" alt="intagram logo">@nathanf
</div>
<h1>11k</h1>
<span class="followers">Followers</span>
<span class="today up">
12 Today
</span>
</div>
<div class="box youtube">
<div>
<img src="images/icon-youtube.svg" alt="youtube logo">Nathan
</div>
<h1>8239</h1>
<span class="followers">Subscribers</span>
<span class="today down">
144 Today
</span>
</div>
<h1 class="overview-h">Overview - Today</h1>
<div class="overview-box">
<span class="title">Page Views</span>
<img src="images/icon-facebook.svg" class="icon" alt="facebok logo">
<h3>87</h3>
<span class="percentage up">3%</span>
</div>
<div class="overview-box">
<span class="title">Likes</span>
<img src="images/icon-facebook.svg" class="icon" alt="facebok logo">
<h3>52</h3>
<span class="percentage down">2%</span>
</div>
<div class="overview-box">
<span class="title">Likes</span>
<img src="images/icon-instagram.svg" class="icon" alt="instagram logo">
<h3>5462</h3>
<span class="percentage up">2257%</span>
</div>
<div class="overview-box">
<span class="title">Page Views</span>
<img src="images/icon-instagram.svg" class="icon" alt="instagram logo">
<h3>52k</h3>
<span class="percentage up">1375%</span>
</div>
<div class="overview-box">
<span class="title">Retweets</span>
<img src="images/icon-twitter.svg" class="icon" alt="twitter logo">
<h3>117</h3>
<span class="percentage up">303%</span>
</div>
<div class="overview-box">
<span class="title">Likes</span>
<img src="images/icon-twitter.svg" class="icon" alt="twitter logo">
<h3>507</h3>
<span class="percentage up">553%</span>
</div>
<div class="overview-box">
<span class="title">Likes</span>
<img src="images/icon-youtube.svg" class="icon" alt="youtube logo">
<h3>107</h3>
<span class="percentage down">19%</span>
</div>
<div class="overview-box">
<span class="title">Total Views</span>
<img src="images/icon-youtube.svg" class="icon" alt="youtube logo">
<h3>1402</h3>
<span class="percentage down">12%</span>
</div>
</div>
</main>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://github.com/dacitto">Daci Salah Eddine</a>.
</div>
<script src="js/js.js"></script>
</body>
</html>