Skip to content

Commit

Permalink
slightly less ugly heading text
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-thepie committed Sep 19, 2024
1 parent 1a61da3 commit 160007a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function populate() {
const levelHead = levelSection.querySelector('h2');

for (const plan of plans) {
levelHead.textContent = `${plan.title}: ${getLevelText(level)}`;
levelHead.textContent = `${plan.title}: Level ${level.charAt(1)}`;
const planSect = document.querySelector('#course-plan').content.cloneNode(true).firstElementChild;
levelSection.append(planSect);
planSect.dataset.course = plan.code;
Expand Down

0 comments on commit 160007a

Please sign in to comment.