MSTC-DA-IICT / Hacktoberfest24-Quiz-App-React-Native

This repository is made for the purpose of Hacktoberfest-2024 to promote open source contributions
0 stars 7 forks source link

Design a Question Page that will display Question with options #4

Closed parjanya-rajput closed 1 month ago

parjanya-rajput commented 1 month ago

Design a screen named QuestionScreen which will display the Quiz question, it's difficulty and 4 options.

For more info about data class/fields refer to 'models' folder or this API

aaryak1369 commented 1 month ago

I would like to give this a go, can you assign this issue to me?

parjanya-rajput commented 1 month ago

ok, we're assigning it to you

aaryak1369 commented 1 month ago

I have a rough draft ready.

Can you please guide me on what you would like...

  1. Once a user selects a wrong option, do you want the user to be able to select again? or just show the correct answer?
  2. If user selects correct answer on first try then do you want the user to have an option to attempt another quiz question right away or have a button to render new question?
parjanya-rajput commented 1 month ago
  1. If the user selects the wrong option just show the right answer directly
  2. If right answer is selected on first try then display a message like "Good Job" and then next question button should be visible
parjanya-rajput commented 1 month ago

what's the status on your PR? Are you facing any issues

aaryak1369 commented 1 month ago

I have the basic logic implemented using a set of sample data. Now just trying to integrate the api. Shall i create a pull request without api integration?

parjanya-rajput commented 1 month ago

The issue states only for creating the design not the API integration that will be another issue in itself. So you can make a PR with a static strings or some kind of json list as you wish!

aaryak1369 commented 1 month ago

Thank you! I have opened a pull request. Please check it out.

parjanya-rajput commented 1 month ago

Great work! I have merged the pull request and everything is working!