In Electric Mouse the buttons are disappearing

In Electric Mouse the buttons are disappearing, can anyone help me, I can show you the code, this is in between numbers 9-11 and it started disappearing

let gameState = {
  player: {},
  computer: {},
  computerSprite: {},
  playerHealthBar: {},
  computerHealthBar: {},
  attackButton: {},
  defendButton: {},
  specialButton: {},
  information: {},
  playerMove: {},
  computerMove: {},
  waveCount: 0,
  opponents: []
};

class GameScene extends Phaser.Scene {
  constructor() {
    super({
      key: 'GameScene'
    });
  }

  preload() {
    const baseURL = 'https://content.codecademy.com/courses/learn-phaser/electric-mouse/'
    this.load.image('Background', `${baseURL}background.png`);
    this.load.image('Attack', `${baseURL}button-attack.png`);
    this.load.image('Defend', `${baseURL}button-defend.png`);
    this.load.image('Special', `${baseURL}button-special.png`);
    const framePxWidth = 1500 / 9;
    this.load.spritesheet('Electric Mouse', `${baseURL}electric-mouse.png`, {
      frameWidth: framePxWidth,
      frameHeight: 128,
      endFrame: 8
    });
    this.load.spritesheet('Owl', `${baseURL}owl.png`, {
      frameWidth: framePxWidth,
      frameHeight: 132,
      endFrame: 8
    });
    this.load.spritesheet('Red Owl', `${baseURL}owl-red.png`, {
      frameWidth: framePxWidth,
      frameHeight: 132,
      endFrame: 8
    });
    this.load.spritesheet('Blue Owl', `${baseURL}owl-blue.png`, {
      frameWidth: framePxWidth,
      frameHeight: 132,
      endFrame: 8
    });
    this.load.spritesheet('Psychic Hairless Cat', `${baseURL}psychic-cat.png`, {
      frameWidth: framePxWidth,
      frameHeight: 148,
      endFrame: 11
    });
  } // End of Preload

  create() {
    // Character objects
    // Add the player object below:
    
 gameState.player = {
      name: 'Electric Mouse', 
      health: 45,
      frames: [
        {
          key: 'playerIdle',
          start: 0,
          end: 2
        },
        {
          key: 'playerAttack',
          start: 3, 
          end: 4
        },
        {
          key: 'playerDefend',
          start: 5, 
          end: 6
        },
        {
          key: 'playerSpecial',
          start: 7,
          end: 8
        },
      ]
    }
    gameState.opponents = [{
      name: 'Owlzzzzzzzz',
      health: 10,
      frames: [{
        key: 'OwlIdle',
        start: 0,
        end: 2
      },
      {
        key: 'OwlAttack',
        start: 3,
        end: 4
      },
      {
        key: 'OwlDefend',
        start: 5,
        end: 6
      },
      {
        key: 'OwlSpecial',
        start: 7,  
        end: 8
      },
      ]
    },
    {
      name: 'Red Owl',
      health: 12,
      frames: [{
        key: 'Red OwlIdle',
        start: 0,
        end: 2
      },
      {
        key: 'Red OwlAttack',
        start: 3,
        end: 4
      },
      {
        key: 'Red OwlDefend',
        start: 5,
        end: 6
      },
      {
        key: 'Red OwlSpecial',
        start: 7,
        end: 8
      },
      ]
    },
    {
      name: 'Blue Owl',
      health: 15,
      frames: [{
        key: 'Blue OwlIdle',
        start: 0,
        end: 2
      },
      {
        key: 'Blue OwlAttack',
        start: 3,
        end: 4
      },
      {
        key: 'Blue OwlDefend',
        start: 5,
        end: 6
      },
      {
        key: 'Blue OwlSpecial',
        start: 7,
        end: 8
      },
      ],
    },
    {
      name: 'Psychic Hairless Cat',
      health: 30,
      frames: [{
        key: 'Psychic Hairless CatIdle',
        start: 0,
        end: 3
      },
      {
        key: 'Psychic Hairless CatAttack',
        start: 4,
        end: 7
      },
      {
        key: 'Psychic Hairless CatDefend',
        start: 8,
        end: 9
      },
      {
        key: 'Psychic Hairless CatSpecial',
        start: 10,
        end: 11
      },
      ]
    }
    ];

    // Set the current opponent below:
    
gameState.computer = gameState.opponents[0];
    // Adds in the background
    this.add.sprite(240, 320, 'Background').setScale(.5);

    // Creates the initial sprites
    gameState.player.sprite = this.add.sprite(115, 275, 'Electric Mouse')
    gameState.computerSprite = this.add.sprite(375, 275, 'Owl') // first enemy

    // Creates all of the player animations
    gameState.player.frames.forEach(frame => {
      this.anims.create({
        key: frame.key,
        frames: this.anims.generateFrameNumbers(gameState.player.name, {
          start: frame.start,
          end: frame.end,
        }),
        frameRate: 3,
        repeat: -1,
        yoyo: true
      });
    });

    // Creates all the computer animations for each opponent
    gameState.opponents.forEach(opponent => {
      opponent.frames.forEach(frame => {
        this.anims.create({
          key: frame.key,
          frames: this.anims.generateFrameNumbers(opponent.name, {
            start: frame.start,
            end: frame.end
          }),
          frameRate: 3,
          repeat: -1,
          yoyo: true
        });
      });
    });

    // Plays initial animation
    gameState.player.sprite.anims.play('playerIdle');
    gameState.computerSprite.anims.play(`${gameState.computer.name}Idle`);

    // Renders the buttons in game and allows them to be clicked
    gameState.attackButton = this.add.sprite(90, 550, 'Attack').setInteractive();
    gameState.defendButton = this.add.sprite(240, 550, 'Defend').setInteractive();
    gameState.specialButton = this.add.sprite(390, 550, 'Special').setInteractive();

    // Add your information text and styling below: 

const style = {
font: '16px Helvetica',
fill: '#000000',
paddaing: {
   x:6,
   y:7
   }
}

gameState.playerMove = this.add.text (65, 140, 'hi', style)
gameState.playerHealthBar = this.add.text(45, 45, `HP: ${gameState.player.health}`, style);
    // Attack button logic:
    gameState.attackButton.on('pointerup', () => {
      this.pauseIdle()
      if (game.input.enabled) {
        // Add your code for Electric Mouse attacking below:
        
      
      }
    });
    
    // Defend button logic:
    gameState.defendButton.on('pointerup', () => {
      this.pauseIdle()
      if (game.input.enabled) {
        // Add your code for Electric Mouse defending below:

      }
    });
    
    // Special Attack button logic (use for reference):
    gameState.specialButton.on('pointerup', () => {
      this.pauseIdle()
      if (game.input.enabled) {
        let randomMove = Math.floor(Math.random() * 3);
        if (randomMove === 0) {
          gameState.information.text = `The player loses 1 HP!`;
          gameState.playerMove.text = 'Special Attack!';
          gameState.computerMove.text = 'Attack!';
          gameState.player.health -= 1;
          gameState.playerHealthBar.text = `HP: ${gameState.player.health}`;
          gameState.player.sprite.anims.play('playerSpecial');
          gameState.computerSprite.anims.play(`${gameState.computer.name}Attack`);
        } else if (randomMove === 1) {
          gameState.information.text = `The ${gameState.computerSprite.texture.key} loses 4 HP!`;
          gameState.playerMove.text = 'Special Attack!';
          gameState.computerMove.text = 'Defend!';
          gameState.computer.health -= 4;
          gameState.computerHealthBar.text = `HP: ${gameState.computer.health}`;
          gameState.player.sprite.anims.play('playerSpecial');
          gameState.computerSprite.anims.play(`${gameState.computer.name}Defend`);
        } else {
          gameState.information.text = `You both lose 10 HP!`;
          gameState.playerMove.text = 'Special Attack!';
          gameState.computerMove.text = 'Special Attack!';
          gameState.player.health -= 10;
          gameState.playerHealthBar.text = `HP: ${gameState.player.health}`;
          gameState.computer.health -= 10;
          gameState.computerHealthBar.text = `HP: ${gameState.computer.health}`;
          gameState.player.sprite.anims.play('playerSpecial');
          gameState.computerSprite.anims.play(`${gameState.computer.name}Special`);
        }
      }
    });
  } // End of Create

  update() {
    this.waveCheck();
  } // End of Update 

  // Helper Functions
  // Check to see that the game is still running and plays the animation of the idle animation current enemy and Electric Mouse
  pauseIdle() {
    setTimeout(function () {
      if (gameState.waveCount !== 4 && gameState.player.health > 0) {
        gameState.player.sprite.anims.play('playerIdle');
        gameState.computerSprite.anims.play(`${gameState.computer.name}Idle`);
      }
    }, 1000)
  }

  // Manages the logic of changing the enemy waves
  waveCheck() {
    if (gameState.computer.health <= 0) {
      gameState.waveCount++;
      gameState.information.text = `The ${gameState.computer.name} has fainted!`;
      gameState.computer = gameState.opponents[gameState.waveCount];
      gameState.playerMove.text = '';
      gameState.computerMove.text = '';
      if (gameState.waveCount > 3) {
        this.scene.stop('GameScene');
        this.scene.start('EndScene');
      } else if (gameState.waveCount < 3) {
        game.input.enabled = false;
        setTimeout(function () {
          const text = gameState.waveCount === 3
            ? 'The Final Boss, the Psychic Hairless Cat!'
            : `A ${gameState.computer.name} appears`;
          gameState.information.text = text;
          gameState.computerHealthBar.text = `HP: ${gameState.computer.health}`;
          gameState.computerSprite.setTexture(gameState.computer.name);
          setTimeout(function () {
            game.input.enabled = true;
          }, 1500);
        }, 1000);
      }
    } else if (gameState.player.health <= 0) {
      this.scene.stop('GameScene');
      this.scene.start('EndScene');
    }
  }

} // end GameScene