mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): correct grammatical and punctuation errors (#61799)
This commit is contained in:
parent
56a2b1672c
commit
6d7405f3a9
@ -12,7 +12,7 @@ For this project, you will build a database of celestial bodies using PostgreSQL
|
||||
|
||||
# --instructions--
|
||||
|
||||
**Important:** After you pass all the project tests, save a dump of your database into a `universe.sql` file so you can complete step 2. There will be instructions how to do that within the virtual machine.
|
||||
**Important:** After you pass all the project tests, save a dump of your database into a `universe.sql` file so you can complete step 2. There will be instructions on how to do that within the virtual machine.
|
||||
|
||||
# --notes--
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ fahrenheit = celsius * (9/5) + 32
|
||||
**User Stories:**
|
||||
|
||||
1. You should create a function named `convertCtoF`.
|
||||
2. The `convertCtoF` should take a single numeric argument, which is the temperature in Celsius.
|
||||
2. `convertCtoF` should take a single numeric argument, which is the temperature in Celsius.
|
||||
3. `convertCtoF` should return a number.
|
||||
|
||||
# --hints--
|
||||
@ -35,37 +35,37 @@ assert.isFunction(convertCtoF);
|
||||
assert.lengthOf(convertCtoF, 1);
|
||||
```
|
||||
|
||||
`convertCtoF(0)` should return a number
|
||||
`convertCtoF(0)` should return a number.
|
||||
|
||||
```js
|
||||
assert.isNumber(convertCtoF(0));
|
||||
```
|
||||
|
||||
`convertCtoF(-30)` should return a value of `-22`
|
||||
`convertCtoF(-30)` should return a value of `-22`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(convertCtoF(-30), -22);
|
||||
```
|
||||
|
||||
`convertCtoF(-10)` should return a value of `14`
|
||||
`convertCtoF(-10)` should return a value of `14`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(convertCtoF(-10), 14);
|
||||
```
|
||||
|
||||
`convertCtoF(0)` should return a value of `32`
|
||||
`convertCtoF(0)` should return a value of `32`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(convertCtoF(0), 32);
|
||||
```
|
||||
|
||||
`convertCtoF(20)` should return a value of `68`
|
||||
`convertCtoF(20)` should return a value of `68`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(convertCtoF(20), 68);
|
||||
```
|
||||
|
||||
`convertCtoF(30)` should return a value of `86`
|
||||
`convertCtoF(30)` should return a value of `86`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(convertCtoF(30), 86);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user