How josephmerza/gin446-jm- works
This is a small Flask portfolio site that serves a home page, history pages, a student-profile form, and a JavaScript quiz. The main workflow is a visitor requesting a page; Flask routes either render a template or, for profile submissions, pass submitted fields into the profile view. The quiz’s question navigation, answer tracking, scoring, and results are client-side. The quiz template and other templates were not excerpted, so links from them to browser assets are not asserted.
Main entry points: app.py Flask routes · quiz.js Quiz engine · index.html Portfolio home · templates History pages
Components 12
Flask routing
- Flask routes
app.py
Portfolio pages
- Portfolio home
templates/index.html - History pages
templates - Profile form
templates/profile-form.html - Profile view
templates/profile.html
Quiz experience
- Quiz page
templates/quiz.html - Quiz engine
static/quiz.js - Question navigation
static/quiz.js - Answer tracking
static/quiz.js - Scoring and feedback
static/quiz.js - Quiz results
static/quiz.js
Other components
- Site visitor
Connections 12
- Site visitor → Flask routes: requests pages
app.py - Flask routes → Portfolio home: renders
app.py - Flask routes → History pages: renders
app.py - Flask routes → Profile form: renders on GET
app.py - Flask routes → Profile view: renders on POST
app.py - Flask routes → Quiz page: renders
app.py - Quiz engine → Question navigation: defines
static/quiz.js - Quiz engine → Answer tracking: stores answers
static/quiz.js - Quiz engine → Scoring and feedback: calculates results
static/quiz.js - Quiz engine → Quiz results: displays results
static/quiz.js - Question navigation → Answer tracking: saves selections
static/quiz.js - Scoring and feedback → Quiz results: passes feedback
static/quiz.js