Logo Lanfrica

abdelhaqueidali/Amazigh-Calendar-MA

Créateur:
abd
Hôte:
A webpage for Amazigh calendar # Amazigh Calendar Webpage This repository contains the code for a simple, interactive Amazigh calendar webpage. It displays the Amazigh calendar alongside the corresponding Gregorian calendar dates, allows navigation between months, and provides conversion between Amazigh and Gregorian dates. **Live Demo:** abdelhaqueidali.github.io ## Features * **Dual Calendar Display:** Shows both the Amazigh and Gregorian calendar dates for the selected month. The Amazigh calendar is the primary display, with Gregorian dates shown as secondary information. * **Month Navigation:** Buttons to navigate to the previous and next month. * **"Go to Today" Button:** Quickly jumps back to the current date. * **Date Selection:** Clicking on a day in the calendar selects it, highlighting the cell and updating input fields. * **Date Conversion:** * Input fields for both Gregorian and Amazigh dates (DD/MM/YYYY format). * A "Go to Date" button applies the date entered in *either* input field. * Entering a Gregorian date automatically calculates and displays the equivalent Amazigh date. * Entering an Amazigh date automatically calculates and displays the equivalent Gregorian date. * Error handling for invalid date input. * **Current Date Highlighting:** The current day is highlighted with a distinct background color ("today" class). * **Selected Date Highlighting:** The currently selected day is highlighted with a different background color ("selected" class). * **Amazigh Month Names:** Uses the proper Amazigh month names (e.g., "ⵉⵏⵏⴰⵢⵔ", "ⴱⵕⴰⵢⵕ"). * **Amazigh Day Names:** Uses Amazigh names for the days of the week. * **Clear Gregorian/Amazigh Display:** Shows the currently displayed Gregorian and Amazigh dates above the calendar grid. Also displays the *current* (today's) Gregorian and Amazigh date, which is separate from the selected date display. * **Responsive Design:** Adapts to different screen sizes. ## Technologies Us …