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

[Improvement] Interactive Question and Answer Sheet Generation #13

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Roaster05
Copy link
Contributor

@Roaster05 Roaster05 commented Mar 12, 2024

This pull request aims on implementing the issue referred in #12 by implementing the feature of Interactive Quiz and AnswerKey generation.

Implementation:

The implementation is done using the external libraries of pdf-lib.js but i had to include the scripts rather than importing it as a module due to the Content-Security-Policy of the chrome extension , the question_generation.html file is being modified to include an extra text input field for the title along with an extra button for downloading the answer_key associated with the generated quiz; Apart from this the question_generation.js file is being modified to implement the functions createAnswerKey(); and createQuestions();that maps the generated quiz in the form like format using the pdf-lib.js library.

Current Output:

Generated Questions
Indian Culture.pdf

Generated AnswerKey
Indian Culture_answerKey.pdf

Generated ScreenCast

This might be little long due to quiz generation so wait a little till it generates the pdf

Screencast

Reviewers

@prarabdhshukla
@MiHarsh

@Roaster05 Roaster05 changed the title Implemented Interactive Quiz Generation [Improvement] Interactive Question and Answer Sheet Generation Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant