Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Improving Even or Odd Checker | Section
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Improving Even or Odd Checker

Tarefa

Swipe to start coding

In one of the previous tasks, we created an "Even or Odd" checking program. The code for that program is given.

Make the code shorter by removing the second conditional statement and using an else block instead.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 37
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Improving Even or Odd Checker

Deslize para mostrar o menu

Tarefa

Swipe to start coding

In one of the previous tasks, we created an "Even or Odd" checking program. The code for that program is given.

Make the code shorter by removing the second conditional statement and using an else block instead.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 37
single

single

some-alt