StealThis .dev
Pages Hard

LMS — Instructor Dashboard

A polished instructor analytics dashboard for an online course platform. Four animated KPI cards track enrollments, net revenue, completion rate, and average rating, with trend pills and a progress bar. An interactive SVG revenue chart redraws as you switch the 7d, 30d, 90d, and 12-month timeframe, and a top-courses table drills into a slide-in panel with a completion ring and lesson check-offs. A live enrollment feed and a student-questions thread with inline replies round out a friendly, focused-reading learning workspace.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Instructor Dashboard

A calm, light-themed analytics workspace for an online-course instructor. The top row of KPI cards counts up on load — enrollments, net revenue, completion rate, and average rating — each with an up or down trend pill, an inline progress bar, and a star summary. A sticky sidebar carries the brand mark, primary navigation, and a “top instructor” status card to anchor the page.

The centerpiece is an interactive SVG revenue chart with a gradient area fill, gridlines, and hover tooltips on every data point. Switching the timeframe segmented control (7d / 30d / 90d / 12m) regenerates the series, redraws the line and axis, and re-runs the KPI counters. Beside it, a student-questions thread lets you reply inline — opening a compose box, sending a reply (Cmd/Ctrl+Enter works too), and updating the live reply-rate pill.

Below, a sortable top-courses table opens a slide-in drawer when you click or keyboard-activate a row. The drawer shows revenue and rating stats, an animated completion ring, and a curriculum list where each lesson can be checked off and published. A recent-enrollments feed streams new fictional sign-ups every few seconds, and every action surfaces a small toast. Everything is keyboard reachable, responsive down to ~360px, and built with vanilla JS — no frameworks or build step.

Illustrative UI only — fictional courses, not a real learning platform.