Skip to content

Latest commit

ย 

History

History
149 lines (103 loc) ยท 4.87 KB

File metadata and controls

149 lines (103 loc) ยท 4.87 KB

โญ If you found this helpful, give it a star

โญ 100+ developers have already cloned this repo

๐Ÿš€ Daily JS practice โ€” variables, arrays, functions, DOM & more. Day 8 streak!! ๐Ÿ’ช

"Future Muskan is depending on what I do tonight."

A personal JavaScript practice repository documenting my journey from basics to full-stack MERN development โ€” one day at a time. ๐Ÿ’ช


๐Ÿ‘ฉโ€๐Ÿ’ป About This Repo

This is my daily JavaScript practice log. Every file here represents real hands-on practice โ€” no copy-paste, no shortcuts. Just genuine learning through building and breaking things.

Started: April 2026 Goal: Land a web developer job ๐ŸŽฏ Stack: JavaScript โ†’ React โ†’ Node.js โ†’ MongoDB

๐Ÿšจ Who is this for?

Beginner JavaScript learners who want structured daily practice with real examples.


๐Ÿ“š What's Inside

โœ… Completed Topics

Topic Concepts Covered
Variables let, const, var, data types
Conditionals if/else, &&, ||, comparison operators
Arrays push, pop, shift, unshift, slice, splice
Array Methods forEach, map, filter, find, includes, indexOf
Objects dot notation, bracket notation, Object.keys/values/entries
Functions declarations, expressions, arrow functions, return vs console.log
Callbacks passing functions, higher order functions
DOM getElementById, textContent, style, addEventListener, input.value
DOM Advanced createElement, appendChild, removeChild, dynamic delete button
DOM Events input, change, keypress, click, mouseover
DOM Classes classList.add, remove, toggle, contains
DOM Elements createElement, appendChild, prepend, remove, innerHTML
DOM Events keypress,mouseover,mouseout,mouseleave,mouseup,mousedown,form validation
Advance Javascript promises, setTimeout, async,await,adding eventlistener on async function
Fetch API promises,async-await function,fetch API ,try-catch error handling

๐Ÿ”„ Coming Soon

  • DOM Manipulation
  • Events & Event Listeners
  • Promises & Async/Await
  • Fetch API
  • React.js
  • Node.js & Express.js
  • MongoDB

๐Ÿง  My Personal JS Cheatsheet (Beginner Friendly)

I maintain a personal cheatsheet.js file with everything I learn โ€” written in my own words, not copied. Check it out to see how I think through concepts!!


๐Ÿ’ก Key Concepts I've Learned

Array Methods โ€” When to Use What

// forEach โ€” just DO something, don't store
skills.forEach((skill) => console.log(skill))

// map โ€” TRANSFORM every item, returns new array
let upper = skills.map((skill) => skill.toUpperCase())

// filter โ€” get only SOME items that match condition
let passed = students.filter((s) => s.marks >= 40)

// find โ€” get FIRST single matching item
let first = students.find((s) => s.city === "Delhi")

Callbacks โ€” Functions as Arguments

let operate = (num1, num2, callback) => {
  return callback(num1, num2)
}

let add = (a, b) => a + b
let multiply = (a, b) => a * b

operate(5, 6, add)      // 11
operate(5, 6, multiply) // 30

๐Ÿ“… Daily Log

Day Date Topics Hours
Day 1 22 April 2026 Variables, if/else, arrays 1 hr
Day 2 23 April 2026 Array methods, objects 2 hrs
Day 3 24 April 2026 Object methods 3 hrs
Day 4 25 April 2026 Functions and Callbacks 3 hrs
Day 5 26 April 2026 DOM manipulation, event listeners, tip calculator 3.5 hrs
Day 6 27 April 2026 DOM deeper, dynamic elements, mini todo app 3.3hrs
Day 7 28 April 2026 DOM methods, classList, innerHTML, color picker 4.5 hrs
Day 8 29 April 2026 DOM Events,form validation practices and exercises 3.5 hrs
Day 9 30 April 2026 promises, setTimeout, async,await practices and exercises 4 hrs
Day 10 30 April 2026 async function ,API fetching,github profile finder activity 3 hrs

๐Ÿ› ๏ธ How to Run

# Clone the repo
git clone https://github.com/muskanm07/JavaScript-Practice.git

# Open in VS Code
code JavaScript-Practice

# Open index.html in browser
# Press F12 โ†’ Console to see output

๐ŸŒฑ My Other Projects


๐Ÿ“ฌ Connect With Me

LinkedIn GitHub ๐Ÿ“ง muskanmaurya553@gmail.com


โญ If this repo helped you or inspired you โ€” drop a star!! It means a lot!! ๐Ÿ™

Made with ๐Ÿ’™ and cold coffee at 11PM in 50ยฐC Kanpur heat!! โ˜•๐Ÿ”ฅ