This potluck invitation was used in Skillcrush's lesson, Event Listeners & Event Handlers, for students to the change the H1 element, and add Dark Mode.
- Using the querySelector and event listener methods, event handler function, change the text and text color of the h1 element on mouseover.
- Using the classList property, querySelector, event listener, add and remove methods, and if/else statement, create dark and light mode for the invitation.
event-handler-exercise.mov
View the Potluck Invite exercise here: https://marisabrantley.github.io/potluck-invite-exercise/
Skillcrush, Break into Tech Blueprint
JavaScript Fundamentals