Building an Interactive Islamic Kids Website

How I built an interactive Islamic learning platform for children using Claude Code, complete with prophet stories, quizzes, and bilingual audio narration

As a father and engineer, I wanted to create something meaningful for Muslim kids — a place where they could learn about the prophets, the Quran, and Islamic values through interactive storytelling rather than static text. That idea became Islamic Kids Stories, and Claude Code helped me bring it to life.

The Idea

Most Islamic educational content for kids is either dry PDFs or YouTube videos with no interactivity. I wanted something different: a website where children could swipe through beautifully illustrated story slides, answer quiz questions, earn stars, and hear narration in both English and Arabic. No app store. No downloads. Just open a link and start learning.

The goal was simple: make Islamic learning as engaging as the best children's apps, but entirely free and accessible on any device.

What We Built

The site is a fully interactive, bilingual Islamic learning platform. Here's what's inside:

🌍
Prophet Adam — The First Human 18 interactive slides with drag-and-drop activities and a quiz
🔥
Prophet Ibrahim's Trust 16 slides exploring faith and sacrifice with embedded questions
🚢
Prophet Nuh and the Great Ark The story of patience and perseverance, with quiz and star rewards
🌙
Prophet Yusuf's Beautiful Dream A journey of trust in Allah through hardship, with interactive elements
📖
Surah Al-Fatiha Learn the opening chapter of the Quran verse by verse

Key Features

🎙️
Bilingual Audio Every story has narration in English and Arabic, generated using ElevenLabs TTS
⭐
Star Rewards Kids earn stars for completing stories and quizzes, saved in their browser
🧩
Interactive Activities Drag-and-drop, quizzes with instant feedback, and click-to-explore elements
📱
Mobile-First Swipe navigation, fullscreen mode, and responsive design for phones and tablets
🌐
English & Arabic Full language toggle with RTL support for Arabic text
🔒
No Accounts Needed Progress saved locally. No sign-ups, no data collection, completely private

Building with Claude Code

This was a bigger project than a typical blog. Each story page is an interactive slide-based experience with animations, quizzes, drag-and-drop activities, audio playback, and bilingual content. Claude Code handled it all as a pair programmer.

The workflow was conversational. I'd describe what I wanted — "make a story about Prophet Nuh with slides, a quiz at the end, and audio narration" — and Claude would generate the complete HTML page with inline styles, the slide system, quiz logic, and audio integration. When I wanted changes — "add a drag-and-drop activity to slide 5" — Claude would read the existing file, understand the structure, and insert the feature in the right place.

What impressed me most was how Claude handled the bilingual complexity. Arabic text needs right-to-left layout, different fonts, and careful handling of mixed-direction content. Claude got this right consistently, switching between Poppins for English and Amiri/Noto Sans Arabic for Arabic text, with proper RTL styling.

Claude Code didn't just write code — it understood the educational intent. It structured stories with age-appropriate language, added interactive elements at the right moments, and made quizzes that reinforced the key lessons.

The Tech Stack

Like my other projects, I kept the stack deliberately simple:

Pure HTML, CSS, and JavaScript — no React, no build tools, no npm. Each story page is self-contained. The site loads instantly, works offline after first load, and will run for years without maintenance.

ElevenLabs TTS for generating high-quality audio narration. I wrote a Node.js script that reads the story content from a JSON file and generates English and Arabic audio files for each slide. The result sounds natural and warm — exactly what you want for children's content.

LocalStorage for progress tracking. No backend, no database. A child's name, star count, and completed stories persist in their browser. Simple, private, and reliable.

Lessons Learned

Kids' content demands higher quality

When building for children, everything matters more. The language has to be simple but not condescending. The interactions have to be intuitive without instructions. The feedback has to be immediate and encouraging. Claude helped maintain this standard across every page.

Bilingual is hard but worth it

Supporting English and Arabic wasn't just about translating text. It meant RTL layouts, different typography, separate audio tracks, and a seamless toggle between languages. The effort pays off — it opens the site to families worldwide.

Static sites scale to any complexity

This project has interactive slides, audio playback, drag-and-drop, quizzes, progress tracking, and bilingual support — all without a framework or build step. The constraint of staying simple actually led to cleaner, more maintainable code.

Check It Out

The site is live at hisham-abuella.github.io/Interactive-Islamic-kids-website. If you have young kids or know a Muslim family, share it. It's completely free, no ads, no tracking, and built with love.

More stories and Quran surahs are on the way. The vision is to build the most engaging, free Islamic learning platform for children on the web — one story at a time.