Posts by João Lucas Main Fiora • 1 point
1 post
-
-1
votes1
answer28
viewsQ: I can’t change backgroundcolor using javascript to generate random colors
// randomColor() funcionando perfeitamente, gerando codigos hex entre "" function randomColor() { const hex = (Math.random()*0xFFFFFF<<0).toString(16); return `"#${hex}"`; } /* Em teoria…