Skip to content

The Potluck Invite Exercise had students use querySelectors, event listeners, event handlers to change a headline, and the classList property & an if/else statement to create dark mode.

Notifications You must be signed in to change notification settings

marisabrantley/potluck-invite-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Potluck Invite Exercise

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.

Objectives

  1. Using the querySelector and event listener methods, event handler function, change the text and text color of the h1 element on mouseover.
  2. 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

Launch

View the Potluck Invite exercise here: https://marisabrantley.github.io/potluck-invite-exercise/

Class

Skillcrush, Break into Tech Blueprint

JavaScript Fundamentals

About

The Potluck Invite Exercise had students use querySelectors, event listeners, event handlers to change a headline, and the classList property & an if/else statement to create dark mode.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published