Skip to content

abir2afridi/CodeMastery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CodeMastery

πŸš€ Zero-to-Pro Web Development Learning Platform

Overview

CodeMastery is a comprehensive web development learning platform designed to take absolute beginners from zero to professional-level mastery in HTML, CSS, JavaScript, Python, TypeScript, C, C++, Java, C#, W3.CSS, and Web Colors. Built with the philosophy that quality and depth matter more than speed, every concept is explained thoroughly with real-world analogies, hands-on practice, and immediate feedback.

🌟 Key Features

  • Interactive Multi-Panel Compiler: Live code editing with HTML, CSS, JavaScript, Python, TypeScript, C, C++, Java, C#, W3.CSS, and Web Colors panels with real-time preview
  • Comprehensive Curriculum: 775+ chapters covering everything from basics to advanced concepts
  • Progress Tracking: XP system, streaks, achievements, and detailed progress analytics
  • Certificate Generation: Beautiful certificates upon track completion
  • Project-Based Learning: Real-world projects at every skill level
  • Comprehensive Quiz System: 8+ questions per chapter with multiple question types
  • Dark Mode Interface: Modern space/terminal aesthetic with smooth animations
  • Bengali Language Support: Full Bangla translations for all curriculum content
  • Mobile Responsive: Learn on any device with optimized layouts

πŸ“š Curriculum Structure

HTML Track (50 Chapters - ~75 hours)

Part 1: The Absolute Beginning (Chapters 1-6)

  • Chapter 1: What Even Is a Website? - Understanding the web stack
  • Chapter 2: Your Very First HTML File - Setting up and basic structure
  • Chapter 3: Text in HTML - Headings, paragraphs, formatting
  • Chapter 4: Links - Connecting the web
  • Chapter 5: Images - Visual content and accessibility
  • Chapter 6: Lists - Organizing content

Part 2: Structure & Layout (Chapters 7-14)

  • HTML Structure Deep Dive, Tables, Forms (3 parts), Semantic HTML, Metadata, Resource Linking

Part 3: Media & Embeds (Chapters 15-20)

  • Audio/Video, iFrames, SVG, Canvas, HTML5 APIs, Special Characters

Part 4: Accessibility (Chapters 21-26)

  • Web Accessibility, ARIA, Keyboard Navigation, Screen Readers, Forms & Accessibility, Images & Accessibility

Part 5: SEO & Performance (Chapters 27-32)

  • Search Engines, Meta Tags, Open Graph, Structured Data, Performance, Validation

Part 6: Advanced HTML (Chapters 33-40)

  • Web Components, Template/Slot, Dialog Element, Details/Summary, PWAs, Microdata, HTML Email, Anti-Patterns

Part 7: Projects (Chapters 41-50)

  • Personal Bio Page, Recipe Page, Photo Gallery, Multi-page Website, Accessible Forms, Challenge Sets, Code Review, Mastery Recap

CSS Track (55 Chapters - ~85 hours)

Part 1: CSS Fundamentals (Chapters 1-8)

  • What is CSS?, First CSS File, Selectors (2 parts), Specificity & Cascade, Box Model, Colors & Backgrounds, Typography

Part 2: Layout (Chapters 9-20)

  • Display Property, CSS Units, Positioning, Z-index, Flexbox (2 parts), CSS Grid (2 parts), Responsive Design (2 parts), CSS Variables, Float & Clear

Part 3: Visual Effects (Chapters 21-30)

  • Borders & Shadows, Gradients, Transforms, Transitions, Animations (2 parts), Filters, Blend Modes, Clip-path, Scroll Behavior

Part 4: Advanced CSS (Chapters 31-44)

  • Pseudo-elements, Custom Properties, calc()/min()/max(), BEM Architecture, ITCSS & Layers, Dark Mode, Accessibility, Sass/SCSS, Tailwind CSS, Performance, Debugging, Print Styles, Modern CSS, Advanced Grid

Part 5: Projects (Chapters 45-55)

  • Portfolio, Blog Layout, Landing Page, Dashboard UI, E-commerce Card, CSS Art, Challenge Sets, Code Review, Mastery Recap

JavaScript Track (70 Chapters - ~120 hours)

Part 1: JS Absolute Basics (Chapters 1-10)

  • What is JavaScript?, First JavaScript, Variables, Data Types, Operators, Type Coercion, Conditionals, Loops, Functions (2 parts)

Part 2: Working with Data (Chapters 11-20)

  • Strings, Numbers, Arrays (3 parts), Objects (3 parts), Date & Time, Regular Expressions

Part 3: Scope, Closures, OOP (Chapters 21-30)

  • Scope, Closures, Hoisting, Prototype Chain, Classes (2 parts), "this" Keyword, Map/Set, Iterators, Symbols

Part 4: Async JavaScript (Chapters 31-40)

  • Event Loop, Callbacks, Promises (2 parts), Async/Await, Fetch API, REST APIs, Error Handling, JSON, Storage

Part 5: DOM and Browser (Chapters 41-55)

  • DOM, Selecting Elements, Content Manipulation, Element Operations, Attributes/Styles, Events (2 parts), Forms, Timers, Scroll Events, Drag & Drop, IndexedDB, Web APIs, Canvas, Web Workers

Part 6: Modern JS and Ecosystem (Chapters 56-65)

  • ES Modules, Functional Programming, Design Patterns, TypeScript, Build Tools, Testing, Security, Performance, Debugging, Memory Management

Part 7: Projects (Chapters 66-70)

  • Todo App, Weather App, Quiz Game, Kanban Board, Mastery Recap

Python Track (80 Chapters - ~40 hours)

Part 1: Python Fundamentals (Chapters 1-10)

  • What is Python?, First Python Program, Variables & Data Types, Operators, Conditionals, Loops, Functions (2 parts), Input/Output, Comments & Documentation

Part 2: Data Structures (Chapters 11-20)

  • Strings, Lists, Tuples, Dictionaries, Sets, List Comprehensions, Lambda Functions, Map/Filter/Reduce, Generators, Decorators

Part 3: Object-Oriented Programming (Chapters 21-30)

  • Classes & Objects, Inheritance, Polymorphism, Encapsulation, Class Methods, Static Methods, Magic Methods, Abstract Classes, Multiple Inheritance, Composition

Part 4: Advanced OOP & Error Handling (Chapters 31-40)

  • Property Decorators, Context Managers, Iterators, Exceptions (2 parts), Custom Exceptions, Logging, Debugging, Testing Basics, Code Organization

Part 5: Advanced Python Features (Chapters 41-50)

  • Modules & Packages, Virtual Environments, pip Package Manager, File I/O, JSON Handling, Regular Expressions, Date/Time, Collections Module, itertools, functools

Part 6: Testing, Debugging & Ecosystem (Chapters 51-60)

  • Unit Testing with unittest, pytest Framework, Mocking, Code Coverage, Profiling, Performance Optimization, Documentation, Type Hints, Code Quality, CI/CD Basics

Part 7: Data Science & Web (Chapters 61-70)

  • NumPy Basics, Pandas DataFrames, Matplotlib Visualization, HTTP Requests, Flask Web Framework, REST APIs, SQLAlchemy ORM, Web Scraping, API Authentication, WebSockets

Part 8: Projects & Challenges (Chapters 71-80)

  • Task Manager CLI, Web Scraper, Data Analysis Project, API Integration, File Organizer, Log Analyzer, Password Generator, URL Shortener, Quiz Application, Weather App

TypeScript Track (65 Chapters - ~90 hours)

Part 1: Introduction to TypeScript (Chapters 1-8)

  • What is TypeScript?, Basic Types, Type Inference, Interfaces, Arrays & Objects, Type Aliases, Union Types, any, unknown, never, void

Part 2: Functions in TypeScript (Chapters 9-15)

  • Function Types, Parameters & Return, Optional & Default, Rest Parameters, Function Overloading, Callbacks, this Keyword

Part 3: Classes and OOP (Chapters 16-24)

  • Classes, Access Modifiers, Inheritance, Abstract Classes, Interfaces vs Classes, Generic Classes, Decorators, Mixins, Design Patterns

Part 4: Advanced Type System (Chapters 25-40)

  • Union Types, Type Aliases, Literal Types, never Type, unknown Type, Type Guards, Discriminated Unions, Intersection Types, Utility Types, Generic Constraints, Mapped Types, Template Literal Types, Conditional Types, infer Keyword

Part 5: TypeScript in Practice (Chapters 41-55)

  • Project Setup, Third-Party Libraries, Error Handling, Event-Driven Types, State Management, API Types, Testing Types, React with TypeScript, Node.js with TypeScript, Database Types

Part 6: Projects (Chapters 56-65)

  • Todo App, REST API Client, State Management Library, Form Validation Library, Type-Safe Router, Data Pipeline, Dependency Injection, Event Bus, API Schema Validator, Component Library

C Programming Track (85 Chapters - ~130 hours)

C++ Programming Track (90 Chapters - ~145 hours)

Java Programming Track (90 Chapters - ~140 hours)

C# Programming Track (85 Chapters - ~135 hours)

W3.CSS Track (55 Chapters - ~45 hours)

Web Colors Track (50 Chapters - ~40 hours)

Part 1: Absolute Beginning (Chapters 1-8)

  • What is C?, Variables & Data Types, Operators, Input/Output, Conditionals, Loops, Functions, Scope & Storage Classes

Part 2: Arrays and Strings (Chapters 9-16)

  • 1D Arrays, 2D Arrays, Strings Part 1, Strings Part 2, String Processing, Arrays of Strings, Command Line Arguments, Array Algorithms

Part 3: Pointers β€” The Heart of C (Chapters 17-28)

  • What Is a Pointer?, Pointer Arithmetic, Pointers and Arrays, Double Pointers, Pointers and Functions, Function Pointers, Void Pointers, NULL Pointer, Common Pointer Bugs, Const Pointers, Pointer Review

Part 4: Memory Management (Chapters 29-36)

  • Stack vs Heap, malloc/calloc/realloc/free, Memory Leaks, Buffer Overflows, Dynamic Arrays, Valgrind, Safe Memory Patterns, Memory Practice Project

Part 5: Structures and Unions (Chapters 37-44)

  • Structures Part 1, Structures Part 2, Structures and Pointers, Passing Structs, typedef, Unions, Bit Fields, Struct Alignment

Part 6: File I/O and Preprocessor (Chapters 45-52)

  • File I/O Part 1-3, Error Handling, Preprocessor, Macros, Header Files, Conditional Compilation

Part 7: Data Structures (Chapters 53-68)

  • Linked Lists (Singly, Doubly, Circular), Stack, Queue, Binary Trees, Hash Tables, Sorting Algorithms, Searching, Graphs, Recursion, Dynamic Programming, Big O Notation

Part 8: Advanced C and Projects (Chapters 69-85)

  • Standard Library, Math Functions, Time/Date, Signals, Multithreading, Socket Programming, Portable Code, Interview Questions, and 6 Comprehensive Projects

🎯 Learning Philosophy

  • Zero Prior Knowledge Assumed: Every chapter starts from scratch
  • Real-World Analogies First: Technical concepts explained through relatable examples
  • Micro-Exercises Throughout: Practice embedded in lessons, not just at the end
  • Immediate Feedback: Live compiler for every code example
  • Depth Over Speed: 500 sub-levels built if that's what a topic needs

πŸ—οΈ Technical Stack

  • Frontend: React 18 with TypeScript
  • Build Tool: Vite for lightning-fast development
  • Styling: Tailwind CSS + shadcn/ui components
  • Animations: Framer Motion for smooth transitions
  • Code Editor: CodeMirror 6 with syntax highlighting
  • Icons: Lucide React
  • Themes: Dark mode with space/terminal aesthetic
  • State Management: React hooks + localStorage
  • Certificates: html2canvas + jsPDF

πŸš€ Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn package manager
  • Modern web browser (Chrome, Firefox, Safari, Edge)

Quick Start

# Clone the repository
git clone https://github.com/yourusername/CodeMastery.git
cd CodeMastery

# Install dependencies
npm install

# Start the development server
npm run dev

# Open your browser to http://localhost:5173

Your Learning Journey

  1. First Visit: Enter your name and choose your learning track
  2. Start Learning: Begin with Chapter 1 or take a placement test
  3. Interactive Learning: Complete lessons with live code examples
  4. Practice: Solve exercises and quizzes after each chapter
  5. Build Projects: Apply your knowledge in hands-on projects
  6. Earn Certificates: Get certified upon track completion

πŸ“ Project Structure

src/
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ certificate/     # Certificate generation components
β”‚   β”œβ”€β”€ compiler/       # Multi-panel live code editor (HTML, CSS, JS, Python, TypeScript)
β”‚   β”œβ”€β”€ layout/         # Navigation and layout components
β”‚   β”œβ”€β”€ lesson/         # Lesson content and interactions
β”‚   └── quiz/           # Quiz system components
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ curriculum/     # All course content (585+ chapters)
β”‚   β”‚   β”œβ”€β”€ html-curriculum.ts
β”‚   β”‚   β”œβ”€β”€ css-curriculum.ts
β”‚   β”‚   β”œβ”€β”€ js-curriculum.ts
β”‚   β”‚   β”œβ”€β”€ python-curriculum.ts
β”‚   β”‚   β”œβ”€β”€ typescript-curriculum.ts
β”‚   β”‚   └── index.ts
β”‚   β”œβ”€β”€ progress.ts      # User progress tracking
β”‚   β”œβ”€β”€ certificate.ts  # Certificate generation
β”‚   β”œβ”€β”€ i18n/           # Internationalization (English & Bengali)
β”‚   └── utils.ts        # Utility functions
β”œβ”€β”€ pages/              # Page components
β”‚   β”œβ”€β”€ Dashboard.tsx   # Main learning dashboard
β”‚   β”œβ”€β”€ CompilerPage.tsx # Standalone compiler
β”‚   β”œβ”€β”€ CertificatePage.tsx # Certificate view
β”‚   └── [track]/        # Dynamic track pages
└── hooks/              # Custom React hooks
    β”œβ”€β”€ useProgress.ts
    β”œβ”€β”€ useToast.ts
    └── use-mobile.tsx

🎨 Design System

  • Theme: Dark mode with space/terminal aesthetic
  • Colors: Electric blue (#00D4FF), Violet (#7C3AED), Dark backgrounds
  • Fonts: Space Grotesk (headings), Inter (body), JetBrains Mono (code)
  • UI Patterns: Glassmorphism cards, neon glows, smooth transitions
  • Animations: Framer Motion for all page changes and interactions

πŸ”§ Development Commands

# Development
npm run dev          # Start development server
npm run build        # Build for production
npm run preview      # Preview production build

# Code Quality
npm run lint         # Run ESLint
npm run type-check   # TypeScript type checking
npm run test         # Run tests with Vitest

# Utilities
npm run format       # Format code with Prettier

🀝 Contributing

We welcome contributions! Here's how you can help:

For Content Contributors

  • Add new lessons or improve existing ones
  • Create additional exercises and quizzes
  • Suggest curriculum improvements

For Technical Contributors

  • Bug fixes and performance improvements
  • New features and UI enhancements
  • Documentation and code quality improvements

Contribution Guidelines

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments & Technologies

  • React 18 - Modern UI framework with hooks and concurrent features
  • TypeScript - Type-safe JavaScript development
  • Vite - Lightning-fast build tool and development server
  • Tailwind CSS - Utility-first CSS framework
  • shadcn/ui - Beautiful and accessible component library
  • Framer Motion - Production-ready motion library for React
  • CodeMirror 6 - Powerful code editor with syntax highlighting
  • Lucide React - Beautiful & consistent icon toolkit
  • html2canvas & jsPDF - Certificate generation
  • Canvas Confetti - Celebration animations

πŸ“ž Support & Community

  • πŸ› Bug Reports: Open an issue on GitHub
  • πŸ’‘ Feature Requests: Start a discussion or open an issue
  • πŸ“– Questions: Check our documentation or community forums
  • ⭐ Show Support: Give this project a star on GitHub!

Ready to start your web development journey? πŸš€

Every professional developer was once a beginner. Let's build something amazing together!

Releases

No releases published

Packages

 
 
 

Contributors

Languages