Topic: Classes
12. Create a class that would hold game scores for a two player game. Then create the object with starting values and display all the scores.
See more
29. Create an class for a fortune cookie. When you create your object, you will fill the cookie with 7 fortunes in an array. Then in a link, call a function in the object to display a random function. The display should be within an h3 tag using getElementById().
See more
30. Create the class in JavaScript and create two instances of the class. Be sure to display all the properties.
See more
35. Create an OOP version of the number guessing game.
See more
36. Create a OOP version of Rock, Paper Scissors.
See more