Skip to content

Commit d059550

Browse files
authored
Update loadpage.js
1 parent 824bd0c commit d059550

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

myfinalproject/scripts/loadpage.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ function populateLearningObjectivesAndSkills(page, studentName, studentCourseDat
6666
myH1.textContent = studentName;
6767
header.appendChild(myH1);
6868

69-
// Print out the JSON object for debugging
7069
// console.log('********************Wih name JSON:' + JSON.stringify(questions) );
7170

7271
// Cycle through the learning objectives and add them to the display
@@ -104,7 +103,7 @@ function populateLearningObjectivesAndSkills(page, studentName, studentCourseDat
104103
if (firstObjective == false )
105104
myPara += '</ul>';
106105

107-
header.innerHTML = myPara;
106+
header.innerHTML += myPara;
108107
}
109108

110109

0 commit comments

Comments
 (0)