scrimba
The Weekly Web Dev Challenge
The Weekly Web Dev Challenge: Name Beautifier ๐Ÿ’…
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: Name Beautifier ๐Ÿ’…
AboutCommentsNotes
The Weekly Web Dev Challenge: Name Beautifier ๐Ÿ’…
Expand for more info
index.js
run
preview
console
import randomcolor from "randomcolor"

const fontsArr = [
"Impact,Charcoal,sans-serif",
"Brush Script MT, cursive",
"Luminari, fantasy",
"Comic Sans MS, cursive",
"American Typewriter, serif"
]


// When the button is clicked, the following things should change

// - font family (use array above)
// - font color (either use randomcolor or your own array of colors)
// - font weight
// - button color (match the font color)



Console
/index.html
-2:41