From 087963e801d2d60280988026630c16eaf1bf9548 Mon Sep 17 00:00:00 2001 From: "Alister N. Mada" Date: Tue, 19 Jan 2016 16:41:53 +0700 Subject: [PATCH] Fix inconsistent font sizes in challenge descriptions --- client/less/challenge.less | 3 +++ .../basic-javascript.json | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/client/less/challenge.less b/client/less/challenge.less index 010b13f33c..f10bac56a4 100644 --- a/client/less/challenge.less +++ b/client/less/challenge.less @@ -33,4 +33,7 @@ content: " \f08e"; } +.bonfire-instructions ol { + font-size: 16px; +} 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 7f2618e1ee..bce69aa020 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -4065,7 +4065,9 @@ "id": "cf1111c1c12feddfaeb1bdef", "title": "Generate Random Whole Numbers with JavaScript", "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.", + "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.", "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.",