Introduction to objects 12.Practice make perfect


#1

hey,
please, can me tell somebody what I'm doing wrong? It's still asking me about object1 (Did you make an object called object1?). what's the problem and how I can correct that one?

var me={
name:"Paťo",
age:(25),
country:"SK"
};

var me={};
me.name="Paťo";
me.age=(25);
me["country"]="SK"

var me = new Object();
me.name="Paťo";
me["age"]=(25);
me.country="SK";


#2

Hi @patzo

Your code is right, but the computer wants what you absolutely make an object called object1 .

So, you know what you have to do ... :sweat_smile:


#3

hi.. I should say "many thx" if I did this mistake. But, I try "object1,..2,.." earlier like "name, age,..".


#4

Hi, can u post the right code, pls.
Thank you!


#5

I'm stuck with the same task
Can someone send us the correct code plz?
Many Thanks!