We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce81e67 commit 5c1d09eCopy full SHA for 5c1d09e
viossa-dictionary/script.js
@@ -29,8 +29,7 @@ document.addEventListener('DOMContentLoaded', function() {
29
button.textContent = wordKey;
30
button.addEventListener('click', () => {
31
definitionsElement.innerHTML = `
32
- <p>Definition 1: ${item[wordKey].definition1}</p>
33
- <p>Definition 2: ${item[wordKey].definition2}</p>
+ <p>${item[wordKey].definition}</p>
34
`;
35
titleElement.innerHTML = wordKey;
36
});
@@ -55,4 +54,4 @@ function filterWords() {
55
54
button.style.display = 'none';
56
}
57
58
-}
+}
0 commit comments