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:
@@ -15,7 +15,7 @@ let feedbackTimeout = null;
|
|||||||
*/
|
*/
|
||||||
export function renderModuleList(container, modules, onSelectModule, onSelectLesson) {
|
export function renderModuleList(container, modules, onSelectModule, onSelectLesson) {
|
||||||
// Clear the container
|
// Clear the container
|
||||||
container.innerHTML = "<h3>Lessons</h3>";
|
container.innerHTML = "";
|
||||||
|
|
||||||
// Get user progress from localStorage
|
// Get user progress from localStorage
|
||||||
const progressData = localStorage.getItem("codeCrispies.progress");
|
const progressData = localStorage.getItem("codeCrispies.progress");
|
||||||
|
|||||||
Reference in New Issue
Block a user