diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json
index 81fc7cc5656..2e15db6aa45 100644
--- a/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/challenges/01-front-end-development-certification/basic-javascript.json
@@ -440,8 +440,7 @@
"title": "Create Decimal Numbers with JavaScript",
"description": [
"We can store decimal numbers in variables too. Decimal numbers are sometimes refered to as floating point numbers or floats.",
- "Note",
- "Not all real numbers can accurately be represented in floating point. This can lead to rounding errors. Details Here.",
+ "Note
Not all real numbers can accurately be represented in floating point. This can lead to rounding errors. Details Here.",
"
myDecimal
and give it a decimal value."
],
@@ -525,11 +524,9 @@
"The remainder operator %
gives the remainder of the division of two numbers.",
"Example",
"5 % 2 = 1 because", - "Usage", - "In mathematics, a number can be checked even or odd by checking the remainder of the division of the number by
Math.floor(5 / 2) = 2 (Quotient)
2 * 2 = 4
5 - 4 = 1 (Remainder)
2
.",
+ "Usage2
.",
"17 % 2 = 1 (17 is Odd)", - "Note", - "The remainder operator is sometimes incorrectly refered to as the \"modulus\" operator. It is very similar to modulus, but does not work properly with negative numbers.", + "Note
48 % 2 = 0 (48 is Even)
remainder
equal to the remainder of 11
divided by 3
using the remainder (%
) operator."
],
@@ -1103,8 +1100,7 @@
"For example, the character at index 0 in the word \"Charles\" is \"C\". So if var firstName = \"Charles\"
, you can get the value of the first letter of the string by using firstName[0]
.",
"lastName
variable and assign it to firstLetterOfLastName
.",
- "Hint",
- "firstLetterOfFirstName
variable declaration if you get stuck."
+ "HintfirstLetterOfFirstName
variable declaration if you get stuck."
],
"challengeSeed": [
"// Example",
@@ -1177,8 +1173,7 @@
"Remember that computers start counting at 0
, so the first character is actually the zeroth character.",
"thirdLetterOfLastName
to equal the third letter of the lastName
variable.",
- "Hint",
- "secondLetterOfFirstName
variable declaration if you get stuck."
+ "HintsecondLetterOfFirstName
variable declaration if you get stuck."
],
"challengeSeed": [
"// Example",
@@ -1213,8 +1208,7 @@
"For example, if var firstName = \"Charles\"
, you can get the value of the last letter of the string by using firstName[firstName.length - 1]
.",
"lastName
variable.",
- "Hint",
- "lastLetterOfFirstName
variable declaration if you get stuck."
+ "HintlastLetterOfFirstName
variable declaration if you get stuck."
],
"challengeSeed": [
"// Example",
@@ -1250,8 +1244,7 @@
"For example, you can get the value of the third-to-last letter of the var firstName = \"Charles\"
string by using firstName[firstName.length - 3]
",
"lastName
string.",
- " Hint",
- "thirdToLastLetterOfFirstName
variable declaration if you get stuck."
+ " HintthirdToLastLetterOfFirstName
variable declaration if you get stuck."
],
"challengeSeed": [
"// Example",
@@ -1325,8 +1318,7 @@
"You start an array declaration with an opening square bracket, end it with a closing square bracket, and put a comma between each entry, like this:var sandwich = [\"peanut butter\", \"jelly\", \"bread\"]
.",
"myArray
that contains both a string
and a number
(in that order).",
- "Hint",
- "answer
for the following ranges:1-3
- \"Low\"4-6
- \"Mid\"7-9
- \"High\"",
- "Note",
- "You will need to have a case
statement for each number in the range."
+ "Notecase
statement for each number in the range."
],
"releasedOn": "January 1, 2016",
"challengeSeed": [
@@ -3922,8 +3913,7 @@
"description": [
"Random numbers are useful for creating random behavior.",
"JavaScript has a Math.random()
function that generates a random decimal number between 0
(inclusive) and not quite up to 1
(exclusive). Thus Math.random()
can return a 0
but never quite return a 1
",
- "Note",
- "Like Storing Values with the Equal Operator, all function calls will be resolved before the return
executes, so we can simply return
the value of the Math.random()
function.",
+ "Notereturn
executes, so we can simply return
the value of the Math.random()
function.",
"myFunction
to return a random number instead of returning 0
."
],