Var answer = prompt("whats your favourite name"); switch(answer){ case 'dil': console.log("my favourite name!); break; // Add your code here! case 'dilan': console.log("thats my second favourite name!); break; default: co


Replace this line with your code.


Could you please repost your code in the "Replace this line with your code" area? It's very difficult to read in the thread title area. Also what error are you receiving?