From 4feae4a7689da3dbd1177a4e786f00f5d64f137e Mon Sep 17 00:00:00 2001 From: BKinahan Date: Mon, 1 Feb 2016 11:24:19 +0000 Subject: [PATCH] Changed 'will gives' to 'will give' Corrected typo for challenge Generate Random Whole Numbers with Javascript, 'will gives' to 'will give'. --- .../basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 177db1e806..04a214d046 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -4082,7 +4082,7 @@ "description": [ "It's great that we can generate random decimal numbers, but it's even more useful if we use it to generate random whole numbers.", "
  1. Use Math.random() to generate a random decimal.
  2. Multiply that random decimal by 20.
  3. Use another function, Math.floor() to round the number down to its nearest whole number.
", - "Remember that Math.random() can never quite return a 1 and, because we're rounding down, it's impossible to actually get 20. This technique will gives us a whole number between 0 and 19.", + "Remember that Math.random() can never quite return a 1 and, because we're rounding down, it's impossible to actually get 20. This technique will give us a whole number between 0 and 19.", "Putting everything together, this is what our code looks like:", "Math.floor(Math.random() * 20);", "We are calling Math.random(), multiplying the result by 20, then passing the value to Math.floor() function to round the value down to the nearest whole number.",