async function doFetch() {
try {
const res = await fetch('data/simpleMenu.json');
const data = await res.text();
document.getElementById("output").innerHTML = data;
} catch (error) {
document.getElementById("output").innerHTML = 'Error: ' + data;
}
}
doFetch();