Skip to content

Latest commit

 

History

History

Lesson_5

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Lesson 5 – reusability / marker class

Currently every button will be selected. It either does something since the container matches or it does nothing when the container does not contain the correct elements. So we would like to add some marker class to take control if the delegation and action should be added or not.

Comes in handy

Covered in this lesson

  • marker classes
  • event delegation
  • jQuery .each() function

Get to the code

on Codepen