fix: remove all placeholder text, cache level indicator

- Remove "Please select a lesson" default text
- Remove "1 of 3" default level indicator
- Add level indicator to lesson cache for instant restore
This commit is contained in:
2025-12-30 20:54:57 +01:00
parent b703992713
commit 801fbe918e
2 changed files with 7 additions and 5 deletions

View File

@@ -32,9 +32,7 @@
<section class="instructions">
<h2 id="lesson-title"></h2>
<div class="task-instruction" id="task-instruction"></div>
<div class="lesson-description" id="lesson-description" data-i18n="selectLesson">
Please select a lesson to begin.
</div>
<div class="lesson-description" id="lesson-description"></div>
</section>
<section class="editor-section">
@@ -78,7 +76,7 @@
<button id="prev-btn" class="btn" data-i18n="previous">Previous</button>
<span class="module-pill" id="module-pill">
<span class="module-name"></span>
<span class="level-indicator" id="level-indicator">1 of 3</span>
<span class="level-indicator" id="level-indicator"></span>
</span>
<button id="next-btn" class="btn btn-primary" data-i18n="next">Next</button>
</div>