12 Practice Makes Perfect - TypeError


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

Hello to everyone!
sorry guys, but I’m really getting mad for undestanding what’s wrong with my code.
What did I get wrong?
Thank you :slight_smile:
<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/javascript-beginner-en-9Sgpi/2/4?curriculum_id=506324b3a7dffd00020bf661#

<In what way does your code behave incorrectly? Include ALL error messages.>
TypeError: object3 is undefined

```

var object1 = {
var1 : ‘Variable1’,
var2 : ‘Variable2’,
var3 : ‘Variable3’
};

var object2 = new Object();
object2[‘number1’] = 5;
object2[‘number2’] = 10;
object3[‘number3’] = 15;

var object3 = new Object();
object3.variable1 = ‘variable1’;
object3.variable2 = ‘variable2’;
object3.variable3 = ‘variable3’;

<do not remove the three backticks above>

#2

@cssmaster23191,

######Have a close look at
#object3[‘number3’] = 15;


#3

Whoa! I must be blind!

Thank you! :smiley: