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>
This commit is contained in:
Kelvin Sánchez
2021-02-18 11:45:12 -04:00
committed by GitHub
parent 7f8e0592c8
commit fad168b465

View File

@ -9,10 +9,10 @@ dashedName: understanding-boolean-values
# --description-- # --description--
Another data type is the <dfn>Boolean</dfn>. `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 <dfn>Boolean</dfn>. 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** **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-- # --instructions--
@ -20,13 +20,13 @@ Modify the `welcomeToBooleans` function so that it returns `true` instead of `fa
# --hints-- # --hints--
The `welcomeToBooleans()` function should return a boolean (true/false) value. The `welcomeToBooleans()` function should return a Boolean (`true` or `false`) value.
```js ```js
assert(typeof welcomeToBooleans() === 'boolean'); assert(typeof welcomeToBooleans() === 'boolean');
``` ```
`welcomeToBooleans()` should return true. `welcomeToBooleans()` should return `true`.
```js ```js
assert(welcomeToBooleans() === true); assert(welcomeToBooleans() === true);