diff --git a/public/index.html b/public/index.html index 7eaf5c7..7099c5a 100644 --- a/public/index.html +++ b/public/index.html @@ -92,6 +92,5 @@ - - + \ No newline at end of file diff --git a/public/script.js b/public/script.js index ec9f5c3..3d908ad 100644 --- a/public/script.js +++ b/public/script.js @@ -158,10 +158,7 @@ function changeTheme(themeName) { } // 📚 Word list -function loadWords() { - const saved = localStorage.getItem('spellingWords') - allWords = saved ? JSON.parse(saved) : [] -} + function saveWords() { const text = document.getElementById('wordInput').value.trim()