8000 Update 06_leapYears README.md with a reference · rokuruby/javascript-exercises@305ad2d · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 305ad2d

Browse files
authored
Update 06_leapYears README.md with a reference
I updated the README with an external link outlining the nested rules for leap years. The present problem statement, borrowed from Chris Pine, does not clearly state these rules, which is indeed confusing. To scaffold the learner's journey, it would be useful to add a reference that walks them through the leap year rules with examples. It difficult to stick to the practice exercise if the learner has to shoot in the dark without knowing the exact rules of the game.
1 parent 203fd76 commit 305ad2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

06_leapYears/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Create a function that determines whether or not a given year is a leap year. Le
1010
leapYears(2000) // is a leap year: returns true
1111
leapYears(1985) // is not a leap year: returns false
1212
```
13+
Still confused? Refer to <cite>[this breakdown](https://time-and-calendar.com/leap-years/#:~:text=How%20to%20Know%20if%20Certain%20Year%20is%20a%20Leap%20Year)<cite> with examples.
1314

1415

1516
## Hints

0 commit comments

Comments
 (0)
0