The code its refusing to run please help

The code its refusing to run its making a red line under the name

Your code so far


var myDog = {
// Only change code below this line
var myDog = {
name:"bingo",
legs: 4,
tails: 1, 
friends: [everything]
}
// Only change code above this line
};

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36.

Challenge: Build JavaScript Objects

Link to the challenge:

What you are submitting is not correct. You can’t declare an object inside an object. Besides, everything is not defined. Look at the code below and compare with yours.

var myDog = {
name:"bingo",
legs: 4,
tails: 1, 
friends: []
}
1 Like

seems like I cant see the erro

which one need to be defined

The object is already declared. All you are meant to do is create the key:value pairs inside the already existing object.

yeah that I did now its saying everything is not defined

Edit your code up there :point_up_2: to show your current code

I am failing to edit but now I removed the object i was putting they

You should note that your properties should be in quotes “” as been asked

thanks at last the code run