Hey guys im stuck on 17


// The computer doesn't worry about extra spaces between words or brackets
// It just cares about the order of where things are placed
// and that you have used the right characters (){}[]"";

// For extra help, a program called a 'linter' is checking your code
// and will put a red 'x' next to the first line that contains errors

if (10 === 10) {"the condition is true"}
console.log("You got a true!")
} else {
(10 * 3 === 7) console.log("You got a false!");


Hey mate, you should't need

{"the condition is true"} or (10 * 3 === 7)

The (10 === 10) will automatically check if it's true and if so, print your first command of "You got a true!" and if not, print the remaining command. The objective of this code if to prove (10 === 10) so no further coding should be required except to print using console.log. Does that make sense?


@megarockstar25205 is correct.

Here is a simple if/else statement so you can see how they work:

    if (this is true) {
        do this thing;
    } else {
        do this other thing;

When making if/else statements, you can start off with that and then swap out the English for JavaScript. Keep the ( ), { } and ; as they are.


Appreciate the validation, @albionsrefuge! Means a lot :smiley:


this don't help at all


Tell us how you are approaching this problem,