Adding to an existing switch, with Pokemon


This isn't a question just wanted to show how you can change some of the preset code to fit your personal interests.

var color = prompt("What's your favorite Pokemon team?","Type your favorite Pokemon team here");

switch(color) {
  case 'red':
    console.log("EWWWW team valor!!!!");
  case 'blue':
    console.log("Are you bandwagoning with team mystic?");
  case 'yellow':
      console.log("Ah so you're team instinct, I see");
    console.log("Thats not a pokemon team you dingus!");


Nice :slight_smile:


Yup just making code more fun than it already is :grin:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.