Fix typos in the Basic Javascript challenge

- Partially fixes #1519 - looks like some of those typos had already
  been fixed.
This commit is contained in:
Isabell Long
2015-08-09 19:32:10 +00:00
parent babd7cb2eb
commit 2f714f1541

View File

@ -35,7 +35,7 @@
"A boolean is a type of variable that represents either true or false (Named after the British mathematician George Boole).", "A boolean is a type of variable that represents either true or false (Named after the British mathematician George Boole).",
"Booleans are often the result of a function or a comparative operation, for example <code>1==1</code>is true whereas <code>1==2</code>is false.", "Booleans are often the result of a function or a comparative operation, for example <code>1==1</code>is true whereas <code>1==2</code>is false.",
"They are most commonly found inside <code>if</code>statements which we shall cover later", "They are most commonly found inside <code>if</code>statements which we shall cover later",
"For now Let's modify our <code>welcomeToBooleans</code>function so that it will return <code>true</code>instead of <code>false</code>when the run button is clicked" "For now let's modify our <code>welcomeToBooleans</code>function so that it will return <code>true</code>instead of <code>false</code>when the run button is clicked"
], ],
"tests": [ "tests": [
"assert(typeof(welcomeToBooleans())=='boolean', 'The value returned by welcomeToBooleans() should be a boolean value. (true of false)');", "assert(typeof(welcomeToBooleans())=='boolean', 'The value returned by welcomeToBooleans() should be a boolean value. (true of false)');",
@ -59,8 +59,8 @@
"description": [ "description": [
"Now, use the <code>var</code> keyword to create a <code>variable</code> called <code>myName</code>. Set its value to your name.", "Now, use the <code>var</code> keyword to create a <code>variable</code> called <code>myName</code>. Set its value to your name.",
"<code>Variables</code> are used to store values.", "<code>Variables</code> are used to store values.",
"The name variable comes from the fact that it's value, varies!", "The name variable comes from the fact that its value varies!",
"Now Let's create our first variable called myName and because it's a name let's make it a string!", "Now let's create our first variable called myName and because it's a name let's make it a string!",
"Be sure to use lowercase and uppercase letters properly. JavaScript variables are written in <code>camel case</code>. An example of camel case is: camelCase.", "Be sure to use lowercase and uppercase letters properly. JavaScript variables are written in <code>camel case</code>. An example of camel case is: camelCase.",
"Look at the <code>ourName</code> example if you get stuck." "Look at the <code>ourName</code> example if you get stuck."
], ],
@ -362,7 +362,7 @@
"title": "Create Decimal Numbers with JavaScript", "title": "Create Decimal Numbers with JavaScript",
"difficulty": "9.9815", "difficulty": "9.9815",
"description": [ "description": [
"In JavaScript we can can work with decimal numbers.", "In JavaScript we can work with decimal numbers.",
"Let's create a variable <code>myDecimal</code> and give it a decimal value." "Let's create a variable <code>myDecimal</code> and give it a decimal value."
], ],
"tests": [ "tests": [
@ -385,7 +385,7 @@
"title": "Perform Arithmetic Operations on Decimals with JavaScript", "title": "Perform Arithmetic Operations on Decimals with JavaScript",
"difficulty": "9.98151", "difficulty": "9.98151",
"description": [ "description": [
"In JavaScript we can can work with decimal numbers." "In JavaScript we can work with decimal numbers."
], ],
"tests": [ "tests": [
"assert(multiply == 15, 'The result of multiply should be 3.75');", "assert(multiply == 15, 'The result of multiply should be 3.75');",