This is an interactive learning environment for CS7643 Module 4, featuring quizzes and lecture transcripts.
- Interactive quizzes with automatic grading
- Complete lecture transcripts
- Easy navigation between topics
- Mobile-responsive design
All quiz markdown files have been standardized to use the following format:
### Question X (Multi-Select)
Question text here
- [ ] A. Option 1
- [ ] B. Option 2
- [ ] C. Option 3
<details>
<summary>Show Answer</summary>
**Correct Answers:** A, C
**Explanation:**
Explanation text here...
> "Quote from the lecture transcript"
</details>
This standardized format ensures:
- Consistent presentation across all quizzes
- Letter-prefixed options (A, B, C, etc.) for clear reference
- Explicit correct answer marking with
**Correct Answers:** A, B, C
- Clear separation between question text, options, and explanations
The build system has been optimized to work with the standardized format:
- Markdown files are parsed using the standardized format
- Question text, options, and correct answers are extracted
- HTML is generated with proper data attributes for interactivity
- CSS styling is applied for a consistent visual experience
To modify the site:
-
Edit the markdown files in
docs/quizzes/
following the standardized format -
Run the standardization script if needed:
cd docs node standardize_markdown.js
-
Run the build script to regenerate the HTML:
cd docs node build.js
-
Test the site by opening the generated HTML files in a browser
To deploy this site to GitHub Pages:
-
Push this directory to your GitHub repository:
git add docs git commit -m "Add interactive quizzes and transcripts site" git push
-
In your GitHub repository settings:
- Go to "Pages" section
- Under "Build and deployment":
- Set "Source" to "Deploy from a branch"
- Select the branch containing your docs directory (usually "main")
- Set the folder to "/docs"
- Click "Save"
-
GitHub will provide you with a URL to your live site (usually in the format
https://username.github.io/repository-name/
)
docs/index.html
- Main entry pointdocs/quizzes/
- Quiz HTML files and source markdowndocs/transcripts/
- Transcript HTML files and source textdocs/js/
- JavaScript for interactivitydocs/css/
- Stylingdocs/build.js
- Build script that generates HTML from markdowndocs/standardize_markdown.js
- Script to standardize markdown files
Created for CS7643 Module 4, using:
- HTML5
- CSS3
- Vanilla JavaScript