danishayman/resepi-khairulaming

Add “Tak tahu nak masak apa?” Recipe Randomizer Feature

Open

#7 opened on Oct 12, 2025

 (3 comments) (0 reactions) (1 assignee)TypeScript (1 fork)auto 404
enhancementgood first issuehacktoberfest

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Add a fun recipe randomizer feature that helps users decide what to cook when they’re unsure. A button labeled “Tak tahu nak masak apa?” should generate and display a random recipe from the database.

Details / Requirements:

  • Add a clearly visible button (e.g., on the homepage or recipe list).

  • When clicked, randomly select and show one recipe (redirect or modal).

  • Optionally include a refresh/randomize again button.

  • Ensure randomization covers all available recipes fairly.

Why: To make browsing more engaging and help users discover new recipes when they don’t know what to cook.

Contributor guide