Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dxnn authored Dec 18, 2024
1 parent df370e3 commit 3ba887c
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
<html>
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8' />
<script src='https://cdn.jsdelivr.net/npm/[email protected]/index.global.min.js'></script>
<script>

document.addEventListener('DOMContentLoaded', function() {
var calendarEl = document.getElementById('calendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth'
});
calendar.render();
});

</script>
</head>
<body>
Hi, this is a calendar!
<div id='calendar'></div>
</body>
</html>

0 comments on commit 3ba887c

Please sign in to comment.