diff --git a/src/js/render.js b/src/js/render.js index e811063..b74524f 100644 --- a/src/js/render.js +++ b/src/js/render.js @@ -106,8 +106,19 @@ export function renderPartsOfSpeech() { } export function renderWords() { - const words = getMatchingSearchWords(); let wordsHTML = ''; + if (window.currentDictionary.words.length === 0) { + wordsHTML = `
+
+

No Words Created

+
+
+
Use the Word Form to create words or click the Help button below!
+
+
`; + } + + const words = getMatchingSearchWords(); const openEditForms = getOpenEditForms();