.then((response) => response.json())
.then((data) => drawBracket(canvas, data.slice(0, 33), genreInput.value));
}
.then((response) => response.json())
.then((data) => drawBracket(canvas, data.slice(0, 33), genreInput.value));
}
.then((response) => response.text())
.then((text) => {
window.localStorage.setItem("genres", text);
.then((response) => response.text())
.then((text) => {
window.localStorage.setItem("genres", text);