Skip to content

jeevan42/Javascript-Coding-Practices

Repository files navigation

🧠 Javascript Coding Practices

This repository is a comprehensive collection of JavaScript coding exercises, theory explanations, and real-world problem solutions designed for learning, revision, and interview preparation.


πŸ“ Folder Structure

  • aggregation-practices/ – MongoDB aggregation tasks (e.g., $lookup, $group, etc.) with DB mock data, schemas, and task-based implementations.
  • event-loop/ – Deeply explained JavaScript event loop concepts like call stack, callback queues, microtasks, and macros.
  • html-files/ – Visual demos for event propagation, bubbling, capturing, and stopping propagation.
  • practice-files/
    • number-patterns, object-based-problems, star-patterns – Logic building problems.
    • anagrams, recursion, sorting, deep/shallow copy – Real-world JavaScript coding problems.
  • theory-practices/ – JS theory like closures, context, CORS, promises, let vs var, etc. explained in .js format for hands-on reference.

πŸ’‘ Why This Repo?

This repo is curated and structured for:

  • πŸ” Daily coding practice
  • πŸ§ͺ Interview readiness
  • πŸ“š Conceptual clarity
  • 🧩 Hands-on pattern building

πŸ› οΈ Tech Stack

  • JavaScript (Vanilla)
  • MongoDB for aggregation practices
  • Node.js for task files and schema definitions
  • HTML for live DOM-related examples

✨ Highlights

  • πŸ’¬ All theory written as code comments (easy to learn and revise)
  • πŸ“Œ Organized with folders per category or logic type
  • 🧠 Naming is intuitive for fast lookup
  • πŸ’Ό Suitable for cracking JavaScript + MERN Stack interviews

πŸ”— Aggregation Practices Task Reference

  • Folder: aggregation-practices/
  • Structure:
    • DB-data/ – Mock documents
    • models/ – Mongoose-like schemas
    • tasks/ – Practical use-case implementations
    • index.js – Entry or testing point

πŸš€ Getting Started

git clone https://github.com/jeevan42/Javascript-Coding-Practices
cd Javascript-Coding-Practices
# Open in your preferred editor and start exploring!

πŸ™Œ Contributions

This is a personal learning + revision space. Feel free to fork, star, and use the structure as your own daily prep library!

About

🧠 Curated JavaScript coding problems, theory, and pattern logic for interviews and daily practice. Covers HTML demos, MongoDB aggregation, recursion, anagrams, and more.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors