Create 3 objects, can you help me to find out what's wrong?


Oops, try again. Did you make object1 an object?

var object1 = new object(); = "food";
object1.amount = 10;

var object2 = new object(); = "drink";
object2.amount = 50;

var object3 = {
    name: "car",
    amount: 20


Capitalization is important.

Tip - When you use keywords make sure they change color, If they don't it means you have misspelled or capitalized wrong.


Thanks for your quick reply.


Al good, did that solve it?


I capitalized O.
Yes, it solved.
Thank you so much!!


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