+ 1

this might be the lamest JavaScript program you have seen... but am a beginner and a dummy.. am trying to make a lotto game

https://code.sololearn.com/WOimDWEJPyJv/?ref=app

27th Dec 2017, 2:20 AM
david chimezie
3 Answers
+ 8
It's cool! Suggestions: At line 11 & 12 var should be lowercase not Var Consider removing the "here" text. not like you can enter text anywhere else. you waste time deleting it anyway. Add a default input when no input is given in your getValue function a-d variables like var a = prompt ('text') || 2 That's all it's better than most codes.
27th Dec 2017, 3:30 AM
Lord Krishna
Lord Krishna - avatar
+ 4
v should be small in var
27th Dec 2017, 3:14 AM
Meharban Singh
Meharban Singh - avatar