add prompt text for user

This commit is contained in:
gameloader 2023-09-19 16:59:15 +08:00
parent 643840b120
commit 08e070508b

View File

@ -123,7 +123,10 @@
item && items[item].kcxzmc && items[item].kcxzmc.includes("选修") item && items[item].kcxzmc && items[item].kcxzmc.includes("选修")
); );
}); });
// Create a label above the elective list
var electiveListLabel = document.createElement("p");
electiveListLabel.textContent = "请选择计入必修的选修课";
container.appendChild(electiveListLabel);
// Display these items in a list with checkboxes // Display these items in a list with checkboxes
var electiveList = document.createElement("ul"); var electiveList = document.createElement("ul");
electiveList.style.listStyleType = "none"; electiveList.style.listStyleType = "none";