diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 1c7ec08a87..0f3f480198 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -3625,9 +3625,9 @@ "id": "56533eb9ac21ba0edf2244c8", "title": "Accessing Objects Properties with Bracket Notation", "description": [ - "The second way to access the properties of an objectis bracket notation ([]). If the property of the object you are trying to access has a space in it, you will need to use bracket notation.", + "The second way to access the properties of an object is bracket notation ([]). If the property of the object you are trying to access has a space in it, you will need to use bracket notation.", "Here is a sample of using bracket notation to read an object property:", - "
var myObj = {
\"Space Name\": \"Kirk\",
\"More Space\": \"Spock\"
};
myObj[\"Space Name\"]; // Kirk
myObj['More Space']; // Spock
", + "
var myObj = {
\"Space Name\": \"Kirk\",
\"More Space\": \"Spock\"
};
myObj[\"Space Name\"]; // Kirk
myObj['More Space']; // Spock
", "Note that property names with spaces in them must be in quotes (single or double).", "

Instructions

", "Read the values of the properties \"an entree\" and \"the drink\" of testObj using bracket notation."