fix: remove redundant Lessons heading from sidebar

The HTML already has an h4 heading for the lessons section with proper
ARIA labeling. The renderer was adding a duplicate h3 heading.
This commit is contained in:
2025-12-30 14:54:28 +01:00
parent 1803cc40f5
commit 44e9f3041f

View File

@@ -15,7 +15,7 @@ let feedbackTimeout = null;
*/
export function renderModuleList(container, modules, onSelectModule, onSelectLesson) {
// Clear the container
container.innerHTML = "<h3>Lessons</h3>";
container.innerHTML = "";
// Get user progress from localStorage
const progressData = localStorage.getItem("codeCrispies.progress");