8. All on your own Need HELP!


#1



what is wrong with this code . the error is SyntaxError: Expected ')'


Replace this line with your code. 
// Write your code below!
var phone = prompt("what is your favorite phone ? ");
switch(phone){
    
    case 'samsung':
        console.log(" samsung have the best quality bomb quality in a phone" , "great ");
        break;
        
  case 'iphone':
        console.log("iphones are so inventiv , good choice my nigga");
        break;
        
 case 'sony':
     console.log("ahhhh so boring ");
   break;
     
     default:
     console.log("sorry but " + phone "is a trash");
     break;
}


#2

here:

console.log("sorry but " + phone "is a trash");

the string isn't properly joined, after phone there should be a plus sign to continue the string


#3

thanks , I forgot how that worked


#4