How to pass challenge, I don't understand

What am I doing wrong?

Your code so far


var myDog = {
// Only change code below this line
var myDog = {
"name": "Buddy",
"legs": 4,
"tails": 1,
"friend": ["many"]
};


// Only change code above this line
};

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Build JavaScript Objects

Link to the challenge:

var = myDog {
... 
}

the variable was already created, you don’t have to create it again.

1 Like

I eliminated that and it still will not work.

"friend" you must be careful with spelling. you don’t how much time i spend on a challenge sometimes because I’ve misspelled something or forgot a ; haha it’s all good tho. we got this

1 Like

You need to just give the properties. Don’t create an object “myDog” as it is already created.

friends with a " S " I’m a mormon LOL …I’m looking too hard .

i feel you bro. i’d spend 30min googling what would possibly be happening, going back and forth over the code re-writing it till then i found out that i just can’t spell lol but we’ll get better with time. :slight_smile:
happy coding my friend!

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