design a user interface that displays the lotto balls
- Your job is to design a user interface that displays the lotto balls that are drawn when drawing up to balls from 5 total of 30 balls.
- Use 5 image elements to display the ball images from this zipfile: lottoballs.zip (I WILL ATTACH THE FILE)
- Use a button to perform the drawing.
- Use a Lotto class object in the script lotto-class.js to simulate drawing the balls.
- Use a CSS file to set the fonts, colors, and sizes of the elements on your page.
- Include a link back to your index page. ** ONLY SHOW FIVE BALLS IN HTML
- The Lotto class object draws the balls with replacement and sorts them in numeric order before outputting them.
- Allow the user to choose how many balls from which to draw and how many balls to draw. This provides a variety of Lotto games to play.
-
lotto-class.js.pdf
-
2.gif
-
1.gif
-
3.gif
-
5.gif
-
8.gif
-
9.gif
-
7.gif
-
12.gif
-
10.gif
-
4.gif
-
13.gif
-
6.gif
-
11.gif
-
14.gif
-
15.gif
-
17.gif
-
19.gif
-
18.gif
-
21.gif
-
22.gif
-
23.gif
-
16.gif
-
24.gif
-
25.gif
-
28.gif
-
27.gif
-
29.gif
-
39.gif
-
26.gif
-
30.gif
-
20.gif
-
33.gif
-
31.gif
-
32.gif
-
35.gif
-
34.gif
-
43.gif
-
36.gif
-
38.gif
-
44.gif
-
37.gif
-
40.gif
-
46.gif
-
41.gif
-
42.gif
-
47.gif
-
49.gif
-
50.gif
-
45.gif
-
48.gif