Skip to content

Commit

Permalink
Create calendar.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dxnn authored Dec 18, 2024
1 parent 3ba887c commit f162eb2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/calendar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!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>
<div id='calendar'></div>
</body>
</html>

0 comments on commit f162eb2

Please sign in to comment.