From 59f62e09ce1b752332cdf8a87785ea31ec980cf5 Mon Sep 17 00:00:00 2001 From: Abhisek Pattnaik Date: Thu, 24 Dec 2015 04:40:12 +0530 Subject: [PATCH] Declare JavaScript Variables --- .../basic-javascript.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 8579d6cac2..b05e9c2c3f 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -58,11 +58,12 @@ "id": "bd7123c9c443eddfaeb5bdef", "title": "Declare JavaScript Variables", "description": [ - "When we store data in a data structure, we call it a variable. These variables are no different from the x and y variables you use in math.", - "Let's create our first variable and call it \"myName\".", - "You'll notice that in myName, we didn't use a space, and that the \"N\" is capitalized. JavaScript variables are written in camel case. An example of camel case is: camelCase.", + "It's nice to have seven different ways of representing data. But to use them in other parts of code, we must store the data somewhere. In computer science, the placeholder where data is stored for further use is known as variable.", + "These variables are no different from the x and y variables you use in Maths. Which means they're just a simple name to represent the data we want to refer to.", + "Now let's create our first variable and call it \"myName\".", + "You'll notice that in myName, we didn't use a space, and that the \"N\" is capitalized. In JavaScript, we write variable names in \"camelCase\".", "

Instructions

", - "Use the var keyword to create a variable called myName. Set its value to your name, in double quotes.", + "Use the var keyword to create a variable called myName. Set its value to your name, wrapped in double quotes.", "Hint", "Look at the ourName example if you get stuck." ], @@ -88,7 +89,7 @@ "description": [ "In Javascript, you can store a value in a variable with the = or assignment operator.", "myVariable = 5;", - "Assigns the value 5 to myVariable.", + "Assigns the Number value 5 to myVariable.", "Assignment always goes from right to left. Everything to the right of the = operator is resolved before the value is assigned to the variable to the left of the operator.", "myVar = 5;", "myNum = myVar;",