This is an index layout
Check one item
Hold down your Shift key
Check a lower item
Everything in between should also be set to checked
Try to do it without any libraries
Just regular JavaScript
Good Luck!
Don't forget to tweet your result!