Skip to content

Commit d590c83

Browse files
committed
feat: swap lesson orders to introduce number keyword before using it in the follow up lesson
closes #128
1 parent ba895f8 commit d590c83

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
File renamed without changes.

content/02-Primitive-Types/05-Multiple-of-a-Number/instructions.mdx renamed to content/02-Primitive-Types/06-Multiple-of-a-Number/instructions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The `multipleOf` [keyword](https://json-schema.org/learn/glossary#keyword) is us
2525

2626
```json
2727
{
28-
"type": "number",
28+
"type": "integer",
2929
"multipleOf": 5
3030
}
3131
```
@@ -35,5 +35,5 @@ Now, try to modify the JSON schema given in the <SideEditorLink/> such that `hou
3535
**Constraints**
3636
- `hourlyWage` should be a **multiple of 0.25**
3737
- `hourlyWage` should have **minimum value of 0** and **maximum value of 100**
38-
38+
> **Note**: hourlyWage is a decimal number, so you need to use the `number` type.
3939

0 commit comments

Comments
 (0)