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 a9bbdaf29a..4de3021290 100644
--- a/seed/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json
@@ -2745,7 +2745,7 @@
"id": "5664820f61c48e80c9fa476c",
"title": "Golf Code",
"description": [
- "In the game of golf each hole has a par for the average number of strokes needed to sink the ball. Depending on how far above or below par
your strokes
are, there is a different nickname.",
+ "In the game of golf each hole has a par for the average number of strokes needed to sink the ball. Depending on how far above or below par
your strokes
are, there is a different nickname.",
"Your function will be passed a par
and strokes
. Return strings according to this table (based on order of priority - top (highest) to bottom (lowest)):",
"
Strokes | Return |
---|
1 | \"Hole-in-one!\" |
<= par - 2 | \"Eagle\" |
par - 1 | \"Birdie\" |
par | \"Par\" |
par + 1 | \"Bogey\" |
par + 2 | \"Double Bogey\" |
>= par + 3 | \"Go Home!\" |
",
"par
and strokes
will always be numeric and positive."
@@ -3053,7 +3053,7 @@
"id": "565bbe00e9cc8ac0725390f4",
"title": "Counting Cards",
"description": [
- "In the casino game Blackjack, a player can gain an advantage over the house by keeping track of the relative number of high and low cards remaining in the deck. This is called Card Counting.",
+ "In the casino game Blackjack, a player can gain an advantage over the house by keeping track of the relative number of high and low cards remaining in the deck. This is called Card Counting.",
"Having more high cards remaining in the deck favors the player. Each card is assigned a value according to the table below. When the count is positive, the player should bet high. When the count is zero or negative, the player should bet low.",
"Value | Cards |
---|
+1 | 2, 3, 4, 5, 6 |
0 | 7, 8, 9 |
-1 | 10, 'J', 'Q', 'K','A' |
",
"You will write a card counting function. It will receive a card
parameter and increment or decrement the global count
variable according to the card's value (see table). The function will then return a string with the current count and the string \"Bet\"
if the count is positive, or \"Hold\"
if the count is zero or negative. The current count and the player's decision (\"Bet\"
or \"Hold\"
) should be separated by a single space.
",
@@ -4034,7 +4034,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.",
+ "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.",
"Instructions
",
"Change myFunction
to return a random number instead of returning 0
."
],
@@ -4336,7 +4336,7 @@
"We are now going to try and combine some of the stuff we've just learned and create the logic for a slot machine game.",
"For this we will need to generate three random numbers between 1
and 3
to represent the possible values of each individual slot.",
"Store the three random numbers in slotOne
, slotTwo
and slotThree
.",
- "Generate the random numbers by using the system we used earlier (an explanation of the formula can be found here):",
+ "Generate the random numbers by using the system we used earlier (an explanation of the formula can be found here):",
"Math.floor(Math.random() * (3 - 1 + 1)) + 1;
"
],
"challengeSeed": [