Skip to content

Bug: "Start Contest" button does not navigate to the next page #77

@Bhaskara05

Description

@Bhaskara05

When clicking the Start Contest button on the welcome page, the app does not navigate to the contest page or load any new content. The button appears functional (clickable), but no action is triggered afterward.
Steps to Reproduce

  1. Go to the homepage of the app (/)
  2. Click on the Start Contest button
  3. Observe that nothing happens (no navigation or content load)
    Expected Behavior
    • After clicking Start Contest, the user should be redirected to the contest page.
Image

Environment
• Browser: (e.g., Chrome 128, Firefox 130)
• OS: (e.g., Windows 11, Ubuntu 22.04)
• Branch: main
Possible Causes
• Missing route in React Router for /contest
• Button onClick handler not implemented or not connected
• Backend API endpoint for contest initialization not returning expected response
Suggested Fix
• Check if Start Contest button has an onClick handler linked to navigation.
• Ensure React Router has a route defined for /contest.
• Verify backend API (/api/start-contest) if one exists.
Labels
bug frontend help wanted

Metadata

Metadata

Assignees

Labels

gssoc25GirlScript Summer of Code 2025level2GSSoC 2025 Level 2

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions