Skip to content

sphariab/Lottery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Lottery

During task execution I used: bootstrap, bootstrap-datepicker, bootstrap-tagsinput, jquery, jquery-parsley(for form field validation), jquery-mask (for Phone Number's filed mask), used gived templates.

Implemented adaptive layout (Bootstrap);

Implemented randomly choice of the winners by pushing button “New winner”

  1. Implemented adding participant to table (to list of participants) after pushing button “Save” and successeful validation.

Also implemented validation of fields: email and phone(checking correctness), name, date of birth(required).

I used pattern 'mediator' and MVC design pattern. Created models: of Winner and WinnerGroup and view: WinnerGroupView.

main.js- entery point.

In controller.js realized randomly choice of winners and adding a participant to the list.

In lottery.js there are settings for used plugins.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published