Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help wanted. #3

Closed
pmirla opened this issue Feb 23, 2022 · 7 comments · Fixed by #4 or #5
Closed

help wanted. #3

pmirla opened this issue Feb 23, 2022 · 7 comments · Fixed by #4 or #5

Comments

@pmirla
Copy link

pmirla commented Feb 23, 2022

#helpwanted
Hello. Thanks for this app.
How do we keep track of all the answers?
Call back functions on answer selection() doesn't have reference to selected answer.

@pmirla
Copy link
Author

pmirla commented Feb 24, 2022

Thank you, Avi. Would it be possible to show a response after the user picks an answer choice for a question? We are now able to show a response after all quiz questions are answered. And, can we embed videos in the question box?Thank you

@amamenko
Copy link
Owner

  1. Do you mean triggering a result early on a specific answer selection without having all the questions finished? I can make that a feature, sure.
  2. At the moment, the closest you can get to embedding a video is by transforming the video into a GIF and setting it as the backgroundImageSrc. This just sets the "src" attribute on an HTML img tag. For videos, I would need to conditionally set that as a video tag and check for the three supported video formats in HTML: MP4, WebM, and OGG.

@pmirla
Copy link
Author

pmirla commented Feb 25, 2022

#1. Would be great to show a message box below the question after the question is answered.
example from nytimes quiz. Thanks
image

@pmirla
Copy link
Author

pmirla commented Mar 6, 2022

hello. I just wanted to ask if you are planning to add a response feature after answering a question. Thank you

@amamenko
Copy link
Owner

amamenko commented Mar 8, 2022

I believe BuzzFeed implements something like this on their trivia questions:

Screen Shot 2022-03-07 at 7 40 35 PM

Is this something like what you were referring to? If so, I can definitely add the feature to the quiz component, as well.

@pmirla
Copy link
Author

pmirla commented Mar 8, 2022 via email

@pmirla
Copy link
Author

pmirla commented Mar 18, 2022

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants