Project brief
Page overview
Brief
- Make a simple Magic 8 Ball game that displays a random answer to a yes/no question
- Bonus: capitalise the first letter of the question and add a question mark if there isn't one already
Concepts used
- Different methods eg charAt, toUpperCase, slice
- Practice accessing a random index in an array
Problems encountered
- This was my second attempt at a Magic 8 Ball, it was quite simple to make this time around so I didn't encounter too many problems. I wanted to style it a bit nicer so I included the capitalisation of the first letter and the question mark addition