Widgets

Calendar

About

This is a simple web calendar, which shows your system date in day, week, month and year format. There are arrow keys on the widget which views previous or next months when you press them.

How to add?

Put this script on your HTML document. Make sure it's located after <body> but before </body>:

<script src="https://404city.neocities.org/widget/calendar.js"></script>

The calendar will instantly pop-up where you put the script!


ID and Class Informations:

Here are the ID and Class definitions of calendar's elements. You can use them on your CSS file to customize your calendar!

ID/ClassElement TypeDescription
#calendardivMain body of the calendar.
#calendarHeaderdivContains month+year display and calendar buttons.
#calendarMonthspanDisplays current month and year.
.calendarMonthBtnspanNext and previous month buttons.
#calendarGriddivContainer of calendar cells.
.calendarDayOfTheWeekdivCells which represents the days of the week.
.calendarCelldivDefault cells which are the days of the calendar..
.calendarNonMonthDaydivMarks the days outside the current month. Make sure to put it after the .calendarCell class.
.calendarTodaydivMarks the current day. Make sure to put it after the .calendarNonMonthDay class.

Update Log

14 August 2025, Thursday

13 August 2025, Wednesday

10 August 2025, Sunday