Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Task - Declare a Boolean Value | Manipulating Data
Introduction to JavaScript
course content

Conteúdo do Curso

Introduction to JavaScript

Introduction to JavaScript

1. Getting Started
2. Manipulating Data
3. Conditional Statements

book
Task - Declare a Boolean Value

Tarefa

Swipe to start coding

The given code contains a conditional expression which we have not studied yet, so you don't have to worry about understanding it right now.

The code represents a program which displays "The product is available" if the variable isAvailable is true, otherwise it displays "The product is out of stock.".

Your task is:

  • Declare a new variable called isAvailable which is set to true;

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 2. Capítulo 12
toggle bottom row

book
Task - Declare a Boolean Value

Tarefa

Swipe to start coding

The given code contains a conditional expression which we have not studied yet, so you don't have to worry about understanding it right now.

The code represents a program which displays "The product is available" if the variable isAvailable is true, otherwise it displays "The product is out of stock.".

Your task is:

  • Declare a new variable called isAvailable which is set to true;

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 2. Capítulo 12
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt