O GoConqr está de visual novo! Conte para nós o que você achou.

Módulo 8 de 10 · Mídia

Create a random color

Kostas Diakogiannis

Create a random color

M-4 Create a random color

Create a random color by creating three different random number integers from 0 to 255. Store them into an array. 

Then try to paint the background body of your document with the combination of colors you created by putting the randomly generated numbers into an rgb() function as arguments.

 

hint:

Check the document.body.style.background = 'rgb(three numbers here)'

Instruções

Para avançar no curso, envie uma tentativa deste quiz. Você pode enviá-la depois da última pergunta.

Ir para o módulo escolhido

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?