diff --git a/script/UpcomingEvent.js b/script/UpcomingEvent.js index 5c277db..5e4736e 100644 --- a/script/UpcomingEvent.js +++ b/script/UpcomingEvent.js @@ -1,13 +1,63 @@ +document.addEventListener('DOMContentLoaded', () => { + const bodySection = document.getElementById('body-section'); + const tbody = document.getElementById('event-container'); + tbody.innerHTML = showEvent(); + // bodySection.innerHTML = generateEvent(); +}); -function loadUpcomingEvent() { +// const showEvent = () =>{ +// return `