Skip to content

divyamdotfoo/js-dojo

Repository files navigation

JS Dojo

JS Dojo is an open-source, multilingual learning app focused on two practical workflows:

  • Practice mode for solving JavaScript MCQs with explanations and runnable snippets
  • Theory mode for reading interview-style JavaScript Q&A with progress tracking

The app is built with Next.js and fetches learning content from trusted community repositories, then adapts the experience to the learner's language and progress.

Screenshots

Practice mode overview Theory mode overview

What This Project Includes

  • Multilingual practice questions sourced from translated JavaScript question sets
  • Theory reading experience with searchable interview questions and answers
  • Language-aware routing with country/IP-based language inference and fallback handling
  • Local progress persistence for both quiz and theory flows using browser storage
  • Built-in code output panel for snippet-based questions
  • Keyboard and touch-friendly navigation for faster study sessions
  • PWA metadata and manifest support for installable app behavior

Tech Stack

  • Next.js 16, React 19, TypeScript
  • Tailwind CSS v4 with a Base UI/Radix component system
  • Zustand for state, React Markdown for content rendering

Content Sources and Attribution

This project builds on excellent community-maintained JavaScript resources:

Huge thanks to the maintainers and contributors of those repositories.

Getting Started

Use Node.js 18+ and pnpm (this repo includes pnpm-lock.yaml), then run:

pnpm install
pnpm dev
# production
pnpm build
pnpm start
# lint
pnpm lint

Open http://localhost:3000.