-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexcel_notes.html
More file actions
240 lines (224 loc) · 7.05 KB
/
Copy pathexcel_notes.html
File metadata and controls
240 lines (224 loc) · 7.05 KB
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="images/MDai 1.ico">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Excel for Beginners Curriculum</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrious/4.0.2/qrious.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body {
font-family: 'Roboto', sans-serif;
background: #eef2f5;
color: #2c3e50;
padding: 2rem;
line-height: 1.7;
}
h1 {
text-align: center;
color: #2c3e50;
font-size: 2rem;
margin-bottom: 1rem;
}
h2 {
color: #1565c0;
margin-top: 2rem;
font-size: 1.3rem;
border-bottom: 1px solid #ccc;
padding-bottom: 5px;
}
ul {
padding-left: 1.5rem;
}
.btn {
display: inline-block;
background: #1565c0;
color: white;
border: none;
padding: 10px 20px;
font-size: 16px;
margin: 1rem 0;
cursor: pointer;
border-radius: 5px;
}
.btn:hover { background: #0d47a1; }
#pdf-content {
background: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.cover-page {
text-align: center;
margin-bottom: 2rem;
padding-top: 50px;
}
.cover-page img.logo {
max-width: 120px;
margin-bottom: 20px;
}
.qr {
margin-top: 20px;
}
.footer {
text-align: center;
margin-top: 40px;
font-size: 0.9rem;
color: #666;
}
.page-number {
text-align: right;
font-size: 0.75rem;
color: #888;
margin-top: 1rem;
}
.page { page-break-after: always; }
.no-break { page-break-inside: avoid; }
.signature-block {
margin-top: 3rem;
font-size: 1rem;
text-align: left;
padding-left: 2rem;
}
.table-of-contents h2 {
text-align: center;
color: #444;
border: none;
}
.table-of-contents ul {
list-style-type: none;
padding: 0;
}
.table-of-contents a {
text-decoration: none;
color: #1565c0;
}
</style>
</head>
<body>
<h1>Excel for Beginners Curriculum</h1>
<button class="btn" onclick="downloadPDF()">Download PDF</button>
<div id="pdf-content">
<div class="cover-page page">
<img class="logo" src="https://cdn-icons-png.flaticon.com/512/888/888879.png" alt="Excel Logo" />
<h1>Excel for Beginners</h1>
<h2>Programme Excel pour Débutants</h2>
<p><em>Learn the fundamentals of Microsoft Excel</em></p>
<p><em>Apprenez les bases de Microsoft Excel</em></p>
<div class="qr">
<canvas id="qr-code"></canvas>
<p style="font-size: 0.8rem;">Scan to visit: www.mdai.org</p>
</div>
</div>
<div class="page table-of-contents">
<h2>Table of Contents</h2>
<ul id="toc-list"></ul>
</div>
<div id="content-body"></div>
<div class="page">
<div class="signature-block">
<p>Kind regards,</p><br><br>
<p><strong>Mr. Symphorien</strong></p>
<p>Chief Executive Officer</p>
<p>MDai Education Division</p>
<p>www.mdai.xyz</p>
</div>
</div>
<div class="footer">
<p>MDai Education Division | <a href="https://symphorienpya.github.io/RINGA/">www.mdai.xyz</a> | Email: contact@mdai.org</p>
<p>© 2025 MDai Platform. All rights reserved.</p>
</div>
</div>
<script>
new QRious({
element: document.getElementById("qr-code"),
value: "https://symphorienpya.github.io/RINGA/",
size: 120
});
const excelTopics = [
{
title: "1. Introduction to Excel / Introduction à Excel",
items: [
"What is Excel? / Qu'est-ce qu'Excel ?",
"Spreadsheet examples / Exemples de feuilles de calcul",
"Common uses of Excel / Usages courants d'Excel"
]
},
{
title: "2. Understanding the Interface / Comprendre l'interface",
items: [
"Workbook and Worksheets / Classeur et feuilles",
"Cells, Rows, and Columns / Cellules, lignes et colonnes",
"Ribbon and Toolbar / Ruban et barre d'outils"
]
},
{
title: "3. Entering & Formatting Data / Saisie et formatage des données",
items: [
"Typing numbers and text / Saisie de chiffres et de texte",
"Formatting cells / Formatage des cellules",
"Merging cells and alignment / Fusion et alignement",
"Using fill color and borders / Couleur de remplissage et bordures"
]
},
{
title: "4. Basic Formulas & Functions / Formules et fonctions de base",
items: [
"SUM, AVERAGE, MIN, MAX",
"Basic arithmetic (+, -, *, /)",
"Using the formula bar"
]
},
{
title: "5. Charts & Visuals / Graphiques et visualisations",
items: [
"Creating bar and pie charts / Créer des graphiques à barres et circulaires",
"Formatting charts / Formatage des graphiques",
"Conditional formatting / Formatage conditionnel"
]
}
];
const toc = document.getElementById("toc-list");
const content = document.getElementById("content-body");
let pageCount = 2;
excelTopics.forEach((topic, i) => {
const anchorId = `section-${i+1}`;
const tocItem = document.createElement("li");
const link = document.createElement("a");
link.href = `#${anchorId}`;
link.textContent = topic.title;
tocItem.appendChild(link);
toc.appendChild(tocItem);
const section = document.createElement("div");
section.className = "page no-break";
section.id = anchorId;
const header = document.createElement("h2");
header.textContent = topic.title;
const ul = document.createElement("ul");
topic.items.forEach(item => {
const li = document.createElement("li");
li.textContent = item;
ul.appendChild(li);
});
const footer = document.createElement("div");
footer.className = "page-number";
footer.textContent = `Page ${++pageCount}`;
section.appendChild(header);
section.appendChild(ul);
section.appendChild(footer);
content.appendChild(section);
});
function downloadPDF() {
html2pdf().set({
margin: 0.5,
filename: 'Excel_for_Beginners_MDai.pdf',
image: { type: 'jpeg', quality: 0.98 },
html2canvas: { scale: 2, useCORS: true },
jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' }
}).from(document.getElementById("pdf-content")).save();
}
</script>
</body>
</html>