Closed maRanaylaK closed 7 years ago
OOPS! Maybe this isn't the right place. I am sorry any inconvenience I have created by posting this here as I have realized the issue I have put up does not match with any other ones. Will try to find another way to convey this issue.
//Command prompt displayed content.
JAVASCRIPTING
OBJECT PROPERTIES (Exercise 16 of 19)
You can access and manipulate object properties -- the keys and values that an object contains -- using a method very similar to arrays.
Here's an example using square brackets:
The above code will print the string 'yummy' to the terminal.
Alternately, you can use dot notation to get identical results:
The two lines of code above will both return yummy.
The challenge:
Create a file named object-properties.js.
In that file, define a variable named food like this:
Use console.log() to print the types property of the food object to the terminal.
Check to see if your program is correct by running this command:
//Content end issue follows.
In the example given while declaring the variable ""example"" the key value ""pizza"" which is to be a string "IS NOT QUOTED". The same thing happend in the challenge where ""types"" is "NOT QUOTED" so please change the content description.
THANK YOU for this great workshop I was confused on where to start JS but this gave me a good start.