

About this project
One of my first projects was a straightforward truth-or-dare game that a single player or a group of friends could play on a single device. I used static arrays of truths and dares that I had curated to randomly select prompts for this project, which was my first experience with coding, using the JavaScript Math.random method. The end result was a simple but enjoyable gaming experience that did not require any complicated features.
When the website loads, it first displays a loading animation for Truth or Dare. After that, you are taken to the game screen, and when you click Play, two buttons appear: Truth and Dare. When you click Truth, the background colour turns cool, and the question appears; however, when you click Dare, the background colour turns hot and red, suggesting Dare.