|
|
@ -1,6 +1,8 @@
|
|
|
|
/////// Make the website //////
|
|
|
|
/////// Make the website //////
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fetch("glossary.json").then(response => response.json()).then(data => glossary = data).then(()=>{
|
|
|
|
|
|
|
|
|
|
|
|
function voices(voices) {
|
|
|
|
function voices(voices) {
|
|
|
|
return `
|
|
|
|
return `
|
|
|
|
${voices.map((voice) => `<p>${voice}</p>`).join("")}
|
|
|
|
${voices.map((voice) => `<p>${voice}</p>`).join("")}
|
|
|
@ -25,6 +27,13 @@ function wordTemplate(word) {
|
|
|
|
|
|
|
|
|
|
|
|
document.getElementById("words").innerHTML = `${glossary.map(wordTemplate).join("")}`
|
|
|
|
document.getElementById("words").innerHTML = `${glossary.map(wordTemplate).join("")}`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log(glossary)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); ///// END OF FETCH!!!!!!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|