Skip to content

Commit

Permalink
fixed typo in event script
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesDCowley committed Jul 6, 2024
1 parent 944a1a9 commit 65fe553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
document.addEventListener('DOMContentLoaded', function(){
fetch('events.json').then(response => response.json()).then(events => {
const eventContainer = document.getElementsById('events-container');
const eventContainer = document.getElementById('events-container');
events.forEach(event => {
const eventCard = document.createElement("div");
eventCard.className = "col-md-4 event-card";
Expand Down

0 comments on commit 65fe553

Please sign in to comment.