This is a simple calendar app developed using HTML, CSS, and JavaScript. The app allows users to select a month, input a year, and view the corresponding calendar. It also provides navigation options to move to the previous or next month. Additionally, clicking on a specific day in the calendar opens a Google search link for that date.
To use the calendar app, simply open the index.html
file in a web browser. The app will display a form where you can select a month, input a year, and click the "Enter" button to view the calendar for the specified month and year.
- index.html: The main HTML file containing the structure of the calendar app.
- style.css: The CSS file responsible for styling the calendar app.
- script.js: The JavaScript file containing the logic and functionality of the calendar app.
The HTML file (index.html
) is structured as follows:
-
Head Section: Contains meta tags, title, script reference (
script.js
), and link reference to the CSS file (style.css
). -
Body Section:
- Form: Allows users to select a month, input a year, and submit the form.
- Calendar Container: Displays the calendar, including navigation buttons, month and year display, weekdays, and days of the month.
- Footer: Displays the current date and time.
The CSS file (style.css
) provides styling for various elements of the calendar app. It includes styling for the form, calendar container, navigation buttons, weekdays, days of the month, and the footer. The styling is designed for a clean and visually appealing user interface.
The JavaScript file (script.js
) contains the logic and functionality of the calendar app. It handles the dynamic creation of the calendar based on user input, navigation between months, and linking each day to a Google search. The app also updates the current date and time in real-time.
- Open the
index.html
file in a web browser. - Select a month from the dropdown list.
- Input a year in the designated input field.
- Click the "Enter" button to view the calendar for the specified month and year.
- Use the navigation buttons (
<
and>
) to move to the previous or next month. - Click on a specific day in the calendar to open a Google search link for that date.
- Desmond Ikilo
- Email: ikilodesmond@gmail.com
This calendar app is open-source and free to use. Feel free to modify and distribute it according to your needs.
Feel free to customize the documentation and README to fit your specific needs.