We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68137ed commit aa4059eCopy full SHA for aa4059e
1 file changed
html/js/code.js
@@ -70,7 +70,8 @@ addEventListener("load", function() {
70
if (chapter.exercises.length) {
71
per.appendChild(opt("box", "Select an exercise"));
72
chapter.exercises.forEach(function(exercise) {
73
- per.appendChild(opt(chapter.number + "." + exercise.number));
+ var num = chapter.number + "." + exercise.number;
74
+ per.appendChild(opt(num, num + " " + exercise.name));
75
});
76
} else {
77
per.appendChild(opt("box", "This chapter has no exercises"));
0 commit comments