Allow users to choose the quiz difficulty before starting the game (Easy / Medium / Hard).
This should filter the questions fetched from the API accordingly.
Requirements:
Add a dropdown or radio button group for selecting difficulty.
Update quiz fetch logic to include the chosen difficulty parameter.
Display the selected difficulty somewhere in the quiz header.
Allow users to choose the quiz difficulty before starting the game (Easy / Medium / Hard).
This should filter the questions fetched from the API accordingly.
Requirements:
Add a dropdown or radio button group for selecting difficulty.
Update quiz fetch logic to include the chosen difficulty parameter.
Display the selected difficulty somewhere in the quiz header.