Fix: remove a colon in rosetta-code/happy-numbers (#41349)

* Fix: remove a colon in rosetta-code/happy-numbers

Removed a colon that shouldn't be there

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/happy-numbers.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Add inline code tags around all true and falses

https://github.com/freeCodeCamp/freeCodeCamp/pull/41349#discussion_r586700058

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
This commit is contained in:
lusc
2021-03-04 17:25:55 +01:00
committed by GitHub
parent 78e739cb53
commit 8a5711dda7

View File

@ -30,67 +30,67 @@ assert(typeof happy === 'function');
assert(typeof happy(1) === 'boolean'); assert(typeof happy(1) === 'boolean');
``` ```
`happy(1)` should return true. `happy(1)` should return `true`.
```js ```js
assert(happy(1)); assert(happy(1));
``` ```
`happy(2)` should return false. `happy(2)` should return `false`.
```js ```js
assert(!happy(2)); assert(!happy(2));
``` ```
`happy(7)` should return true. `happy(7)` should return `true`.
```js ```js
assert(happy(7)); assert(happy(7));
``` ```
`happy(10)` should return true. `happy(10)` should return `true`.
```js ```js
assert(happy(10)); assert(happy(10));
``` ```
`happy(13)` should return true. `happy(13)` should return `true`.
```js ```js
assert(happy(13)); assert(happy(13));
``` ```
`happy(19)` should return true. `happy(19)` should return `true`.
```js ```js
assert(happy(19)); assert(happy(19));
``` ```
`happy(23)` should return true. `happy(23)` should return `true`.
```js ```js
assert(happy(23)); assert(happy(23));
``` ```
`happy(28)` should return true. `happy(28)` should return `true`.
```js ```js
assert(happy(28)); assert(happy(28));
``` ```
`happy(31)` should return true. `happy(31)` should return `true`.
```js ```js
assert(happy(31)); assert(happy(31));
``` ```
`happy(32)` should return true:. `happy(32)` should return `true`.
```js ```js
assert(happy(32)); assert(happy(32));
``` ```
`happy(33)` should return false. `happy(33)` should return `false`.
```js ```js
assert(!happy(33)); assert(!happy(33));