Skip to content

Commit 66a1318

Browse files
committed
docs: update task title
1 parent c379c2d commit 66a1318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

077-sortable list/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function handleKeyDown(e) {
123123
function checkOrder() {
124124
listItems.forEach((listItem, index) => {
125125
const personName = listItem.querySelector(".draggable").innerText.trim();
126-
// Refactor checkOrder for Efficiency
126+
// Refactor checkOrder for Correctness
127127
listItem.classList.remove("right", "wrong");
128128
if (personName !== richestPeople[index]) listItem.classList.add("wrong");
129129
else listItem.classList.add("right");

0 commit comments

Comments
 (0)