0

JS random name picker help

Trying to make a random name picker. So... Into this input, you enter a name and press Add, to add names that are gonna be picked randomly. And when you press "Pick Winner", the lists' InnerHTML should be randomized and one of them will show up In this element. Winmer Is: WinnerName (randomly picked name); But, I don' know how I would randomize the lists' innerHTML and display (the picked list's InnerHTML) In this element that tells you who the winner Is. Started code: https://code.sololearn.com/WphlX5xuimCR/?ref=app

26th Oct 2019, 5:43 PM
Ginfio
Ginfio - avatar
1 ответ
+ 4
https://code.sololearn.com/W7gc4D9i0W35/?ref=app
26th Oct 2019, 5:54 PM
Calviղ
Calviղ - avatar