scrimba
The Weekly Web Dev Challenge
The Weekly Web Dev Challenge: Magic 8-ball ๐ŸŽฑ
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

The Weekly Web Dev Challenge: Magic 8-ball ๐ŸŽฑ
AboutCommentsNotes
The Weekly Web Dev Challenge: Magic 8-ball ๐ŸŽฑ
Expand for more info
index.js
run
preview
console
import randomcolor from "randomcolor"

const advice = [
"If youโ€™re good at something, never do it for free.",
"Do, or do not. There is no try.",
"Itโ€™s what you do right now that makes a difference.",
"Until you start believing in yourself, you ain't gonna have a life!",
"Life does not stop and start at your convenience.",
"You know what the trouble about real life is? There's no danger music."
]

// generate random light colors:
// adviceEye.style.backgroundColor = randomcolor({luminosity: 'light'})
Console
/index.html
-1:51