Where is the mistake in this JavaScript code? [closed]

I don’t understand the mistake when I work on b and c variables…

Github Copilot did the homework example, but in the b and c examples I worked and it tells me that is wrong.

Would you like to tell me the mistake?

PS: I worked on a example and I think is good, what do you think?

Thank you!

let a = -3;
let b = 7;
let c = 10;
let homework = 67;

if (a > 0) {
    console.log(`A is positive`);
} else {
    if (a === 0) {
        console.log(`A is zero`)
    } else {
        if (a < 0) {
            console.log(`A is negative`);
        }
    }
}

if (b) {
    console.log(`B is positive`);
} else {
    if (b === 0) {
        console.log(`B is zero`)
    } else {
        if (b < 0) {
            console.log(`B is negative`);
        }
    }
}

if (c) {
    console.log(`C is positive`);
    if (c === 0) {
        console.log(`C is zero`);
        if (c < 0) {
            console.log(`C is negative`);
        }
    }
}

if (homework) {
    console.log(`The student completed at least one homework`);
    if (homework > 50) {
        console.log(`The student completed at least 50 homeworks`);
    }
} else {
    console.log(`The student didn't complete a homework`);
}