Courses
Courses are the guided learning layer in FlagHack Hub. They give users a structured path through a topic before they move into quiz practice or hands-on mission work.
Discovery and organization
- The course list supports search, sorting, and pagination.
- Inside an active organization, courses are grouped into required and optional sections.
- Outside an organization, the same list is shown as a simple personal catalog.
Progress model
Each course item shows score progress when a score exists. If no score has been saved yet, the course is treated as not started. In organization mode, required versus optional labels are driven by the current team or classroom assignment rather than by a separate course library.
How course pages are rendered
- Course content is loaded per language.
- Courses end with embedded quiz entries, which behave like a scored checkpoint for that course.
Course quizzes and scoring
When a learner completes all quiz entries in a course, the score is saved back to the hub as score versus max score. That saved result then feeds the dashboard score widgets and the progress details shown in the course list.
Demo mode behavior
In demo mode the courses screen stays visible, but only the sample Information Disclosure course remains actionable. This makes it a safe environment for walkthroughs and first impressions without exposing the full catalog.