mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
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.
This commit is contained in:
@@ -10,6 +10,7 @@ Create a function that determines whether or not a given year is a leap year. Le
|
||||
leapYears(2000) // is a leap year: returns true
|
||||
leapYears(1985) // is not a leap year: returns false
|
||||
```
|
||||
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.
|
||||
|
||||
|
||||
## Hints
|
||||
|
||||
Reference in New Issue
Block a user