A modern, interactive web application for learning English vocabulary with Polish translations. Built with React, TypeScript, and Material-UI, featuring over 3,000 words from the Oxford word list.
- Write Mode: Type the English translation of Polish words
- Multiple Choice Mode: Select the correct translation from multiple options
- Smart Word Hints: Progressive letter-by-letter hints to help you learn
- Letter Bank: Shows all unique letters in the correct answer with color coding
- Progress Tracking: Real-time statistics for correct and incorrect answers
- Adaptive Learning: Words are selected randomly and avoid repetition until all are used
- Dark/Light Theme: Toggle between themes for comfortable learning
- Hint Controls: Enable/disable word hints and letter hints
- Difficulty Adjustment: Customize number of options in multiple choice mode (4-20)
- Learning Mode Switch: Seamlessly switch between writing and multiple choice
- Answer Statistics: Track your correct and incorrect answers
- Recent Performance: View your most recent answers for quick review
- Visual Feedback: Color-coded chips for easy progress visualization
- Material-UI Design: Clean, modern interface with smooth animations
- Responsive Layout: Works perfectly on desktop, tablet, and mobile devices
- Accessibility: Full keyboard navigation and screen reader support
Visit the live application: https://bitlogicforge.github.io/englishWords
- Frontend: React 19 with TypeScript
- State Management: Redux Toolkit
- UI Framework: Material-UI (MUI) v7
- Routing: React Router DOM v7
- Build Tool: Vite
- Deployment: GitHub Pages with automated CI/CD
- Node.js (version 18 or higher)
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/bitlogicforge/englishWords.git cd englishWords -
Install dependencies
npm install
-
Start development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173
npm run dev- Start development server with hot reloadnpm run build- Build production versionnpm run preview- Preview production build locallynpm run lint- Run ESLint for code qualitynpm run lint:fix- Fix auto-fixable ESLint issuesnpm run format- Format code with Prettiernpm run deploy- Deploy to GitHub Pages
- Navigate to Exercise Page: Click on "Exercise" in the navigation menu
- Choose Your Mode: Use settings to switch between "Write" and "Multiple Choice" modes
- Start Learning: Polish words will be displayed - provide the English translation
- Type the English translation of the displayed Polish word
- Use hints if needed (can be toggled in settings)
- Press "Check" or Enter to verify your answer
- Select the correct English translation from the provided options
- Number of options can be customized (4-20) in settings
- Instant feedback on your selection
- Theme: Toggle dark/light mode in settings
- Hints: Enable/disable word hints and letter hints
- Difficulty: Adjust number of multiple choice options
src/
βββ components/ # Reusable UI components
β βββ BadWordsStats.tsx # Incorrect answers statistics
β βββ CheckButton.tsx # Answer verification button
β βββ CurrentWord.tsx # Display current Polish word
β βββ GoodWordsStats.tsx # Correct answers statistics
β βββ Header.tsx # Application header
β βββ InputAnswer.tsx # Text input for answers
β βββ LettersHint.tsx # Letter bank hint system
β βββ Menu.tsx # Navigation menu
β βββ OptionsWords.tsx # Multiple choice options
β βββ Settings.tsx # Settings panel
β βββ Word.tsx # Progressive word hint display
β βββ WordsStats.tsx # Reusable statistics component
βββ config/ # Configuration files
β βββ menuItems.ts # Navigation configuration
β βββ settings.ts # App settings
βββ data/ # Static data
β βββ wordsall.json # 3000+ English-Polish word pairs
βββ hooks/ # Custom React hooks
βββ pages/ # Page components
β βββ ExercisePage.tsx # Main learning interface
β βββ HomePage.tsx # Landing page
β βββ SettingsPage.tsx # Settings page
βββ store/ # Redux store
β βββ appSlice.ts # App-wide state (theme, settings)
β βββ lessonSlice.ts # Learning session state
β βββ store.ts # Store configuration
β βββ hooks.ts # Typed Redux hooks
βββ utils/ # Utility functions
βββ answerUtils.ts # Answer validation logic
βββ listFunctions.ts # Array manipulation utilities
βββ textUtils.ts # Text processing utilities
βββ wordFunctions.ts # Word-specific utilities
- No Repetition: Words are tracked to avoid showing the same word twice until all are attempted
- Random Selection: Fair distribution ensures exposure to all vocabulary
- Progress Persistence: Your session progress is maintained during use
- Progressive Reveals: In write mode, hints reveal letters progressively based on your input
- Letter Bank: Shows all unique letters in the answer with visual feedback
- Customizable: All hints can be enabled/disabled based on your preference
- Real-time Stats: See your correct/incorrect answer counts instantly
- Recent History: Quick access to your last 5 answers in each category
- Visual Feedback: Color-coded interface for immediate understanding
This application is automatically deployed to GitHub Pages using GitHub Actions. The deployment process:
- Automatic Build: Triggered on push to main branch
- Production Optimization: Vite creates optimized build with asset compression
- GitHub Pages: Deployed to
gh-pagesbranch with proper routing for SPA
npm run build
npm run deployContributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Follow TypeScript best practices
- Use Material-UI components consistently
- Write meaningful commit messages
- Test your changes thoroughly
- Update documentation as needed
The vocabulary database contains over 3,000 carefully selected English-Polish word pairs based on:
- Oxford English word lists
- Common vocabulary for English learners
- Balanced difficulty progression
Developer: BitLogicForge Email: bitlogicforge@gmail.com GitHub: @bitlogicforge
This project is open source and available under the MIT License.
- Oxford Dictionary for vocabulary reference
- Material-UI team for the excellent component library
- React and TypeScript communities for amazing tools
- All contributors who help improve this learning tool
Happy Learning! ππ
Start your English vocabulary journey today and expand your language skills with interactive, engaging exercises. { files: ['**/*.{ts,tsx}'], extends: [ // Other configs... // Enable lint rules for React reactX.configs['recommended-typescript'], // Enable lint rules for React DOM reactDom.configs.recommended, ], languageOptions: { parserOptions: { project: ['./tsconfig.node.json', './tsconfig.app.json'], tsconfigRootDir: import.meta.dirname, }, // other options... }, }, ])