Skip to content

developer-yashgupta/CodeLearn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CodeLearn - Interactive Web Development Learning Platform

Learn Web Development the Fun Way 🎨

CodeLearn is a fully responsive, interactive educational website designed to help university students learn HTML, CSS, and JavaScript through hands-on practice and engaging content.

🌟 Features

πŸ“š Comprehensive Courses

  • HTML Course: 8 interactive lessons covering tags, elements, forms, and semantic HTML
  • CSS Course: 10 lessons on styling, layouts, flexbox, grid, and responsive design
  • JavaScript Course: 12 lessons including DOM manipulation, events, and a to-do app project

🎯 Interactive Learning

  • Live Code Editor: Write and run code instantly with real-time output
  • Progress Tracking: Monitor completion status with localStorage persistence
  • Interactive Quizzes: Test knowledge with 10 questions per technology
  • Instant Feedback: Get immediate results and explanations

πŸ“± Modern Design

  • Fully Responsive: Works perfectly on desktop, tablet, and mobile
  • Beautiful UI: Modern gradient design with smooth animations
  • Accessible: Keyboard navigation and screen reader friendly
  • Fast Loading: Optimized CSS and JavaScript for performance

πŸš€ Student-Focused

  • Beginner-Friendly: No prior experience required
  • Structured Learning: Carefully designed curriculum progression
  • Self-Paced: Learn at your own speed with saved progress
  • Free Access: Complete education platform at no cost

πŸ› οΈ Technologies Used

  • HTML5: Semantic markup and modern web standards
  • CSS3: Flexbox, Grid, animations, and responsive design
  • Vanilla JavaScript: No frameworks - pure JavaScript functionality
  • LocalStorage: Client-side progress and quiz score persistence
  • Google Fonts: Poppins font family for modern typography

πŸ“ Project Structure

codelearn/
β”œβ”€β”€ index.html              # Homepage with hero and features
β”œβ”€β”€ about.html              # About page with mission and story
β”œβ”€β”€ courses.html            # Course selection with progress display
β”œβ”€β”€ quiz.html               # Interactive quiz system
β”œβ”€β”€ html-course.html        # HTML course with lessons
β”œβ”€β”€ css-course.html         # CSS course with lessons  
β”œβ”€β”€ js-course.html          # JavaScript course with lessons
β”œβ”€β”€ css/
β”‚   └── style.css           # Complete responsive stylesheet
β”œβ”€β”€ js/
β”‚   β”œβ”€β”€ main.js             # Core functionality and navigation
β”‚   β”œβ”€β”€ quiz.js             # Quiz system and scoring
β”‚   └── editor.js           # Code editor and course management
└── assets/
    └── README.md           # Assets documentation

πŸš€ Getting Started

Quick Start

  1. Clone or download the project files
  2. Open index.html in any modern web browser
  3. Start learning - no setup or installation required!

Local Development

# Clone the repository
git clone [repository-url]

# Navigate to project directory
cd codelearn

# Open in browser (or use a local server)
open index.html

# For local server (optional)
python -m http.server 8000
# or
npx serve .

Browser Compatibility

  • βœ… Chrome 60+
  • βœ… Firefox 55+
  • βœ… Safari 12+
  • βœ… Edge 79+

πŸ“– How to Use

For Students

  1. Start with Courses: Visit the courses page to see available topics
  2. Follow the Path: Begin with HTML, then CSS, then JavaScript
  3. Practice Coding: Use the interactive editor in each lesson
  4. Track Progress: Your completion status is automatically saved
  5. Take Quizzes: Test your knowledge and earn scores
  6. Learn at Your Pace: No time limits or pressure

For Educators

  • Assign Courses: Direct students to specific course pages
  • Monitor Progress: Students can share their completion percentages
  • Supplement Teaching: Use as homework or practice material
  • Customize Content: Modify lessons to fit your curriculum

🎨 Design Features

Color Palette

  • Primary: #4f46e5 (Indigo)
  • Accent: #9333ea (Purple)
  • Background: #f8fafc (Light Gray)
  • Text: #111827 (Dark Gray)
  • Success: #10b981 (Green)
  • Error: #ef4444 (Red)

Typography

  • Font Family: Poppins (Google Fonts)
  • Headings: 700 weight for impact
  • Body: 400-500 weight for readability
  • Code: Courier New monospace

Responsive Breakpoints

  • Mobile: 480px and below
  • Tablet: 768px and below
  • Desktop: 1024px and above

πŸ”§ Customization

Adding New Lessons

  1. Update Course Data: Add lesson objects to the course JavaScript
  2. Create Content: Write lesson HTML and example code
  3. Update Sidebar: Add lesson items to the navigation
  4. Test Functionality: Ensure progress tracking works

Modifying Styles

  1. CSS Variables: Update colors in :root selector
  2. Responsive Design: Modify media queries as needed
  3. Animations: Adjust transition timings and effects
  4. Layout: Customize grid and flexbox properties

Adding Quiz Questions

  1. Update Quiz Data: Add questions to quizData object
  2. Set Correct Answers: Specify the correct option index
  3. Test Questions: Verify answer validation works
  4. Update Scoring: Adjust scoring logic if needed

🎯 Learning Outcomes

After completing CodeLearn courses, students will be able to:

HTML Skills

  • βœ… Create semantic HTML documents
  • βœ… Use forms and input elements effectively
  • βœ… Implement proper document structure
  • βœ… Apply accessibility best practices

CSS Skills

  • βœ… Style web pages with colors and typography
  • βœ… Create responsive layouts with Flexbox and Grid
  • βœ… Add animations and transitions
  • βœ… Implement mobile-first design

JavaScript Skills

  • βœ… Write functions and handle events
  • βœ… Manipulate the DOM dynamically
  • βœ… Store data with localStorage
  • βœ… Build interactive web applications

🀝 Contributing

We welcome contributions to improve CodeLearn:

Ways to Contribute

  • Report Bugs: Submit issues for any problems found
  • Suggest Features: Propose new functionality or improvements
  • Add Content: Create new lessons or quiz questions
  • Improve Design: Enhance UI/UX and accessibility
  • Fix Code: Submit pull requests for bug fixes

Development Guidelines

  • Code Style: Follow existing formatting and naming conventions
  • Testing: Test all changes across different browsers and devices
  • Documentation: Update README and comments for new features
  • Accessibility: Ensure all changes maintain accessibility standards

πŸ“„ License

This project is open source and available under the MIT License.

πŸ™ Acknowledgments

  • Google Fonts for the beautiful Poppins typography
  • CSS Grid and Flexbox for modern layout capabilities
  • LocalStorage API for client-side data persistence
  • University students worldwide who inspired this project

πŸ“ž Support

For questions, suggestions, or support:

  • Issues: Use GitHub issues for bug reports
  • Discussions: Join community discussions for questions
  • Email: Contact the development team
  • Documentation: Check this README and code comments

Made with ❀️ for students learning web development

CodeLearn - Your first step into frontend development πŸš€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published