You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: curriculum/challenges/english/25-front-end-development/lab-leap-year-calculator/66c06fad3475cd92421b9ac2.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
15
15
16
16
1. Define a function called `isLeapYear` that takes a number as an argument.
17
17
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.
19
19
4. To check if the year is a leap year, fulfill the following conditions:
20
20
21
21
- If the year is divisible by `4`, then it is a leap year.
@@ -34,7 +34,7 @@ You should define a function named `isLeapYear`.
34
34
assert(typeof isLeapYear ==='function');
35
35
```
36
36
37
-
The `isLeapYear`funtion should take a number as an argument.
37
+
The `isLeapYear`function should take a number as an argument.
0 commit comments