Skip to content

Commit f0ce47e

Browse files
authored
fix(curriculum): typo in lesson description and test hints (freeCodeCamp#56746)
1 parent 7298db7 commit f0ce47e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

curriculum/challenges/english/25-front-end-development/lab-email-masker/66b205e6eacba4c4e54ea434.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
2424

2525
# --hints--
2626

27-
You should define a funtion named `maskEmail`.
27+
You should define a function named `maskEmail`.
2828

2929
```js
3030
assert.isFunction(maskEmail);
3131
```
3232

33-
The `maskEmail` funtion should take a string, `email` as an argument.
33+
The `maskEmail` function should take a string, `email` as an argument.
3434

3535
```js
3636
assert.match(maskEmail.toString(), /\s*maskEmail\(\s*\w+\s*\)/);

curriculum/challenges/english/25-front-end-development/lab-leap-year-calculator/66c06fad3475cd92421b9ac2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
1515

1616
1. Define a function called `isLeapYear` that takes a number as an argument.
1717
2. Outside the function, declare a variable `year` that stores the value of the year you want to check.
18-
3. Inside the funtion, use an `if/ else` statement or a ternary operator to check if the year is a leap year.
18+
3. Inside the function, use an `if/ else` statement or a ternary operator to check if the year is a leap year.
1919
4. To check if the year is a leap year, fulfill the following conditions:
2020

2121
- If the year is divisible by `4`, then it is a leap year.
@@ -34,7 +34,7 @@ You should define a function named `isLeapYear`.
3434
assert(typeof isLeapYear === 'function');
3535
```
3636

37-
The `isLeapYear` funtion should take a number as an argument.
37+
The `isLeapYear` function should take a number as an argument.
3838

3939
```js
4040
assert.match(isLeapYear.toString(), /\s*isLeapYear\(\s*\w+\s*\)/);

0 commit comments

Comments
 (0)