Magic 8 ball
A magic 8 ball coded entirely by ChatGPT using only one prompt shown below.
code a html webpage which has a div centered horizontally and vertically on the webpage with a black background and white text centered both horizontally and vertically in the div. Below the div there should be a button which when clicked randomly chooses an element from an array and sets it as the innerText to the text inside the black div. the list of options for the array are below
Yes
No
Maybe so
Never
Sometimes
If… then…
Always
Forever
No longer
Try again
Leave a comment
Log in with itch.io to leave a comment.