๐ Excited to share that Iโm starting my MERN Stack Challenge โ Cohort 2.0!
Over the next 100 days, Iโll be documenting my daily learnings here โ from MongoDB to React to full-stack projects.
Why?
To stay consistent ๐ฏ
To build in public ๐
To become a better developer ๐จโ๐ป
๐
Q8: How do you create animations like the Instagram heart?
โ๏ธ Add/remove CSS classes dynamically + trigger with events.
Q9: What does setTimeout() do?
โ๏ธ Runs a function once after a delay.
Q10: What about setInterval()?
โ๏ธ Repeats a function continuously at fixed intervals.
DOM Quiz Time
Q1: What does document.querySelector() do?
โ๏ธ It selects the first matching element from the DOM.
Q2: How is querySelectorAll() different?
โ๏ธ It returns all matching elements as a NodeList.
Q3: How do you detect a click event in JS?
Q6: How do you move a div from left to right?
โ๏ธ Modify its position: https://t.co/1coebJ1H6V.left = "50px".
Q7: How do you detect a double-tap/ double click?
โ๏ธ Use dblclick event or custom double-click logic with timestamps.
๐ป Day 35 of Cohort 2.0 - DOM + Project -
Today we created the Instagram-style double-tap like animation โค๏ธ using DOM manipulation.
Learned how to handle double-click detection and trigger animations dynamically.
A super fun and interactive feature to build! โจ
#Day35#DOM
๐ป Day 34 of Cohort 2.0 - Quick Brainstorm
Today wasnโt a heavy learning day, but I made sure to think through my progress and stay consistent.
Hereโs my quick self-check:
๐น How can I make my DOM projects more interactive?
โ๏ธ By using more event listeners & dynamic styling.
๐น What can I build with setTimeout & setInterval?
โ๏ธ Auto color-changers, countdowns, text animations, movement effects.
๐น What should I revise next?
โ๏ธ DOM selection + styling + events.
๐น Whatโs my next step?
โ๏ธ Build 1โ2 small DOM projects to combine all concepts.
.
๐ป Day 33 - Self-Study Day
I revised everything I've learned so far DOM basics, event listeners, styling, and timers.
A quiet but solid revision day!
#Day33#JavaScript#WebDev#100DaysOfCode#Cohort2
๐ป Day 32 of Cohort 2.0- Mini Projects + Timers in JS
Today I built multiple small DOM projects using everything I learned in the last two days element selection, styling, events, and interactivity.
Also learned two powerful timing functions:
-setTimeout() โณ
-setInterval() ๐
Wrapped up the session by implementing all of this in small interactive DOM projects making elements move, change color, and respond to user actions.
๐ Key Takeaway:
DOM manipulation makes a webpage feel alive.
#Day31#javascript#DOM#WebDev#Cohort2#100DaysOfCode
๐ป Day 31 of Cohort 2.0 - DOM Revision + Interactive Mini Projects
Revised the core DOM concepts again today:
-document.querySelector()
-addEventListener()
-Updating styles like https://t.co/1coebJ19hn.left
-Changing text on click
-Changing background colors dynamically
๐ป Day 30 of Cohort 2.0 - DOM Basics + The 4 Pillars
Started the DOM today and learned its 4 core pillars:
1๏ธโฃ Selecting elements
2๏ธโฃ Changing HTML
3๏ธโฃ Changing CSS
4๏ธโฃ Adding Event Listeners
Also covered:
-querySelector()
-querySelectorAll()
-getElementById()
-addEventListener()
-Shallow vs deep copying of objects
-Optional Chaining (?.) for safe access
๐ Key Takeaways:
-Objects help store structured data
-Destructuring + optional chaining = cleaner code
-Copying objects isnโt as simple as it looks
#Day29#JavaScript#Objects#100DaysOfCode#cohort2
๐ป Day 29 of Cohort 2.0 - Understanding Objects in JavaScript
Today I explored JavaScript Objects in depth:
-KeyโValue pair structure
-Dot vs Bracket notation
-Nested objects & deep property access
-Object destructuring
-Looping through objects (forโฆin, Object.keys() etc.)
-IIFE (Immediately Invoked Function Expressions)
-Hoisting and how JS handles functions behind the scenes
A super important day understanding functions properly makes everything else in JS much easier! โก
#Day28#JavaScript#Functions#mernstackdevelopers
๐ป Day 28 of Cohort 2.0 - Deep Dive into Functions
Todayโs Session was packed with core JavaScript concepts:
-Functions and how they really work
-Parameters vs Arguments
-Arrow Functions
-First-Class & Higher-Order Functions
-Closure & Lexical Scope
๐ป Day 27 of Cohort 2.0
Array Problem Solving
Today I focused on solving different types of Array problems to strengthen my logic
Worked with methods like map, filter, reduce, loops, and basic transformations.
The more I practice, the more natural JavaScriptโs Array flow feels