Summary
Display a “Challenge of the Day” section on the homepage (index.html) that highlights one coding challenge per day. The selection rotates daily using a simple client-side algorithm based on the current date.
Motivation
This feature encourages users to return daily, practice consistently, and engage with challenges they might not otherwise discover. It adds dynamism to the homepage and improves the user experience without requiring backend logic.
Possible Solution
- Use
new Date().getDate() to determine the current day (1–31).
- Calculate the index for a challenge using:
const index = day % totalChallenges;
I would like to contribute to this feature. Please assign it to me.
Summary
Display a “Challenge of the Day” section on the homepage (
index.html) that highlights one coding challenge per day. The selection rotates daily using a simple client-side algorithm based on the current date.Motivation
This feature encourages users to return daily, practice consistently, and engage with challenges they might not otherwise discover. It adds dynamism to the homepage and improves the user experience without requiring backend logic.
Possible Solution
new Date().getDate()to determine the current day (1–31).I would like to contribute to this feature. Please assign it to me.