Skip to content

Nada-TB-beginner-projects/slider-vanillaJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slider show vanillaJS:

The application's features :

  • A toolbar: play, stop, backward, next, random.
  • A button to display ou hide the toolbar.

Development process:

  • Create a javascript function for each button of the toolbar that matches its role on click.
  • Declare a global variable that updates the slider show status (on/off).
  • Declare a global variable that updates the image position index.

Programming concepts applied:

javascript
Scope
DOM document
DOM methods
Timing event
array
Loop while
condition(if/else)
Events