LC101-Ind 5.6 Exercises: Booleans and Conditionals

on the first conditionals exercise, we are supposed to initialize the variable “crewStatus” with the value "spaceSuitsOn && shuttleCabinReady
". Can someone tell me if this is supposed to be 2 variables or just 1 string? I’m confused on that part

crewStatus is supposed to be the variable name initialized to the value of spaceSuitsOn && shuttleCabinReady.

Let’s say you had the following code:
const a = true;
const b = true;
const c = a && b;

The last variable would be very similar to what the exercise is requesting of you for the variable crewStatus.

1 Like