𝗗𝗮𝘆 𝟮𝟯: 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗠𝗘𝗥𝗡 𝗦𝘁𝗮𝗰𝗸

I finished Lecture 8 on JavaScript. I studied Event Listeners and the Event Object.

Standard event handlers overwrite previous code. Event listeners solve this.

Key concepts:

I built a Dark Mode toggle.

The UI shifts from white to dark with one click.

I finished the DOM and Event lectures. Tomorrow I build a standalone mini-project using HTML, CSS, and vanilla JavaScript.

Do you use CSS classes or inline styles for theme toggles?

Source: https://dev.to/ali_hamza_589ec7b3eb6688d/day-23-of-leaning-mern-stack-5f8k