Skip to content

Instantly share code, notes, and snippets.

@blaisethomas
Last active August 29, 2015 14:17
Show Gist options
  • Save blaisethomas/23aa8d6f4a2b2ec6939e to your computer and use it in GitHub Desktop.
Save blaisethomas/23aa8d6f4a2b2ec6939e to your computer and use it in GitHub Desktop.
Jimmy's special dom challenges :)

#DOM Code Challenge

For each of the challenges below, complete in plain JS.

###Challenge 1

Build a a text input element that behaves like input type="password".

It has a button "show". When clicked it will show the string. When released the characters go back to asterisks

###Challenge 2

Build a rudimentary image slider that has two buttons, left and right. These buttons will cycle through three images.

No animations, and no timed transitions.

###Challenge 3 Using the following array, make a random seating arragement generator for WDI15 that randomly assigns students and displays the seating arrangmement in a 10 by 3 grid (like classroom 1! )

var wdi_15_names = ['Abe Menashy', 'Alok  Somani', 'Austen  Weinhart', 'Austin  Kim', 'Austin  Langley', 'Carlos  Cruz', 'Conrad  Sze', 'Curtis  Ott', 'Daniel  Dowling', 'Fancy Moua', 'Gobind  Tandon', 'Jessica Grinberg', 'Joey  Volpe', 'Kathleen  Magnuson', 'Ksenia  Smith', 'Kyle  Conkright', 'Kyle  Hurst', 'Mathieu Fallows', 'Mikel Pacheco', 'Nancy Ma', 'Nick  Mitchell', 'Richard Luo', 'Rushi Sinha', 'Russ  Dollinger', 'Sarah Kruberg',
'Ted Burkow', 'Tiffany Lim', 'Zack  Gourley'];
@rushindrasinha
Copy link

Epic

This should be fun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment