Arabic Alphabet Learner
Introduction
Arabic Alphabet Learner is a registration-free study application for beginners who want to practice Arabic letters, vowel patterns, numbers, pronunciation, and handwriting in short sessions. It combines visual recognition, listening, answering, and correction in a responsive interface that works on desktop and mobile.
Features
Letter exercises cover all 28 Arabic letters with fatha, kasra, damma, and their corresponding long-vowel forms. Number exercises use Eastern Arabic numerals from 0 to 100. Learners can choose the material included in a session, limit practice to short vowels, show or hide hints, select an installed Arabic voice, and adjust speech speed.
Each question presents five possible readings and tracks correct and incorrect answers for the current session. Missed items enter an adaptive review queue, where they have a 65 percent chance of returning after a two-card cooldown. A separate writing mode accepts touch or mouse input on a canvas and returns concise feedback about a handwritten letter or number.
Architecture
The responsive client is built with HTML, CSS, and JavaScript, with no frontend build step. Local datasets, session state, quiz generation, scoring, browser speech synthesis, and the adaptive review queue all run in the browser. Handwriting uses Canvas 2D, and the drawing is resized to a 256 by 256 pixel PNG only when the learner asks for an assessment.
Writing assessment is handled by a separately deployed Node.js Azure Function. The endpoint validates the request and image size, obtains an Azure OpenAI token through Managed Identity and DefaultAzureCredential, and asks a multimodal model for a response constrained by a strict JSON schema. GitHub Actions publishes the frontend to Azure Static Web Apps, while the Function App is deployed independently so that credentials never need to reach the browser.
Conclusion
Arabic Alphabet Learner brings recognition, pronunciation, adaptive review, and handwriting into one focused learning loop. Its lightweight client keeps everyday practice immediate, while the isolated AI service adds targeted writing feedback without turning the core learning experience into a backend-dependent application.
The source code is available on GitHub.