From fad168b465089a40ddaf52c0cc17ddd68cd36050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kelvin=20S=C3=A1nchez?= Date: Thu, 18 Feb 2021 11:45:12 -0400 Subject: [PATCH] fix(learn): fix some code tags, capitalization and punctuation in challenge (#41161) * fix some code tags, capitalization and punctuation Note: The reserved word in JavaScript is "boolean", so I think it is appropriate to use it like this inside the code tags. * Remove code tags and capitalize first letter Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> * capitalize letter and replace slash Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> --- .../basic-javascript/understanding-boolean-values.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-boolean-values.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-boolean-values.md index 51208aa42a..2348481a8d 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-boolean-values.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-boolean-values.md @@ -9,10 +9,10 @@ dashedName: understanding-boolean-values # --description-- -Another data type is the Boolean. `Booleans` may only be one of two values: `true` or `false`. They are basically little on-off switches, where `true` is "on" and `false` is "off." These two states are mutually exclusive. +Another data type is the Boolean. Booleans may only be one of two values: `true` or `false`. They are basically little on-off switches, where `true` is "on" and `false` is "off". These two states are mutually exclusive. **Note** -`Boolean` values are never written with quotes. The `strings` `"true"` and `"false"` are not `Boolean` and have no special meaning in JavaScript. +Boolean values are never written with quotes. The strings `"true"` and `"false"` are not Boolean and have no special meaning in JavaScript. # --instructions-- @@ -20,13 +20,13 @@ Modify the `welcomeToBooleans` function so that it returns `true` instead of `fa # --hints-- -The `welcomeToBooleans()` function should return a boolean (true/false) value. +The `welcomeToBooleans()` function should return a Boolean (`true` or `false`) value. ```js assert(typeof welcomeToBooleans() === 'boolean'); ``` -`welcomeToBooleans()` should return true. +`welcomeToBooleans()` should return `true`. ```js assert(welcomeToBooleans() === true);