All on your own..why not pulled out the box that asks what (fai) you want


#1



All on your own


Replace this line with your code. var fai=  ("ti fai tros?","type ti fai tros");
switch (fai){
case 'fakes':
console.log ("kales h fakes");
break;
case 'xorta':
console.log ("den moy aresoyn ta xorta");
break;
case 'makaronia':
console.log ("oraia ta makaronia ");
break;
case 'ryzi':
console.log ("kai to ryzi kalo");
break;
default:
console.log ("de mas xezeis me to fai!");} // Write your code below!


#2

why do you not prompt the user for input? You forgot prompt:

var fai=  prompt("ti fai tros?","type ti fai tros");

#3

when I did my pulled WRONG


#4

you forgot the prompt keyword


#5

TypeError: prompt is not a function.. that's it said


#6

could you show me an updated version of your code?


#7

var fai= prompt ("ti fai tros?","type ti fai tros");
switch (fai){
case 'fakes':
console.log ("kales h fakes");
break;
case 'xorta':
console.log ("den moy aresoyn ta xorta");
break;
case 'makaronia':
console.log ("oraia ta makaronia ");
break;
case 'ryzi':
console.log ("kai to ryzi kalo");
break;
default:
console.log ("de mas xezeis me to fai!");}

// Write your code below!..and says TypeError: prompt is not a function


#8

works fine? Maybe your browser is sending incorrect data, try a different browser


#9

thank you for the trouble to REPLIES