Stuck - Tried some options

Conte-nos o que está acontecendo:
Descreva detalhadamente o problema aqui.
Tried that and it is not working. Tried var remainder = 2 % 11; and it does not work too. Help?

Seu código até o momento

const remainder = 0;
const remainder = 11 % 3;

Informações de seu navegador:

Agente de usuário: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36 Edg/101.0.1210.53

Desafio: Descobrir o resto em JavaScript

Link para o desafio:

HI @brevuelta.recover202 !

Welcome to the forum!

You are close.

But remember that const variables cannot be reassigned.

You already declared a const variable of remainder here

You cannot redeclare it again here

Your answer should only be one line.
Not two.

Once you fix that, then the test will pass

1 Like

Thank you =) Now it works.

1 Like