competitions/templates/index.html [40:48]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .then(response => { if (!response.ok) { throw new Error('Network response was not ok'); } return response.json(); // Parse the JSON response }) .then(data => { // Populate the 'content' div with the HTML from the response const contentDiv = document.getElementById('content'); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - competitions/templates/index.html [224:232]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .then(response => { if (!response.ok) { throw new Error('Network response was not ok'); } return response.json(); // Parse the JSON response }) .then(data => { // Populate the 'content' div with the HTML from the response const contentDiv = document.getElementById('content'); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -