diff --git a/public/app.js b/public/app.js
index 4915749..c07fdf6 100644
--- a/public/app.js
+++ b/public/app.js
@@ -512,32 +512,83 @@ $('#btn-print-list').addEventListener('click', async () => {
});
function printSpellingWorksheet(name, words) {
- const rows = words
- .map((w) => {
- const sentence = w.sentence ? `
${esc(w.sentence)}
` : '';
- return `
- | ${esc(w.word)}${sentence} |
- |
- |
-
`;
- })
- .join('');
+ const practiceRows = words.map((w, i) => {
+ const sentence = w.sentence
+ ? `${esc(w.sentence)}
`
+ : '';
+ return `
+ | ${i + 1}. ${esc(w.word)}${sentence} |
+ |
+ |
+
`;
+ }).join('');
+
+ const dictRows = words.map((w, i) =>
+ ``
+ ).join('');
+
const win = window.open('', '_blank');
win.document.write(`Spelling: ${esc(name)}
-
- ✏️ Spelling: ${esc(name)}
- Write each word twice — once to practice, once from memory.
-
- | Word | Practice | From memory |
- ${rows}
-
-