Skip to content

[Feature] Challenge of the Day on Homepage #214

Description

@shreyaB7134

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgssoc25This issue is part of GirlScript Summer of Code 2025level1Beginner-level issue

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions