If else statement for javascript


#1

Hey I try to do the if statement statement, but I having trouble to find what I did wrong the console show me that my mistake is on the line 11 (at the moonPhase === mostly new )with the else highlighting
1. var moonPhase = 'full';

  1. if (moonPhase === 'full') {
  2. console.log('Howwwlll!!');
  3. } else {
  4. console.log('I swear I am not a werewolf...');
    6.}
    7.if (moonPhase === 'mostly full'); {
  5. console.log('Arms and legs are getting hairier');
  6. }
    10.else if (moonPhase==='mostly new') {
    11.console.log('Back on two feet');
    12.}
    13.else {
    14.console.log('Invalid moon phase');
    15.}

#2

There should only be one if statement, then else if statements then a final else statement at the bottom.

if () {
  console.log();
} else if () {
  console.log();
} else if () { 
  console.log();
} else {
  console.log();
}