[Improvement] Interactive Question and Answer Sheet Generation #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 , thequestion_generation.html
file is being modified to include an extra text input field for thetitle
along with an extra button for downloading the answer_key associated with the generated quiz; Apart from this thequestion_generation.js
file is being modified to implement the functionscreateAnswerKey();
andcreateQuestions();
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
Reviewers
@prarabdhshukla
@MiHarsh