12. Practice makes perfect - Syntax Error


#1



Does anyone know why there is a syntax error in my code? It says SyntaxError: missing before statement. Thanks in advance!


var object1 = new Object();
object1.name = "Name a";
object1.number = 342;

var object2 = new Object();
object2.place = "World";
object2.movie = "ABC";

var object3 = new Object();
object3.food = "spaghetti";
object3.phone = 555 523 523;


Replace this line with your code.


#2

HI this line

object3.phone = 555 523 523;

you should put the number in " " like that

object3.phone = "555 523 523";

#3

Thank you, I appreciate it!