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

Módulo 6 de 11 · Mídia

Is it a weekend?

Kostas Diakogiannis

Is it a weekend?

D-2 Is it a weekend?

Create a function that accepts a specific date given as an argument and returns a message if the day of the specific date is a weekend day or not.

You may want to use the getDay function to have access to which day it is. This returns a number from 0 to 6.

0 Sunday,

1 is Monday,

6 is for Saturday etc.

You may find this info useful if you want to check what day a specific date is.

 

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?