DEV Community

loading...

Discussion on: The Layers of JS...Styles Remix

Collapse
fupuchu profile image
Leon Ho

So many ways to style, my go-to way is styled components since you can use nesting and it accepts js since it's a template literal. I randomized a header's font color with some JS and stored my colors in a seperate JS file as an object.

Collapse
laurieontech profile image
Laurie Author

That's so fun! Randomization in design is always super unexpected and cool.