From 73f00af79ee59f7f519ba2fc104b03e8ed47b14f Mon Sep 17 00:00:00 2001 From: Carmen <134790101+c4rlm@users.noreply.github.com> Date: Thu, 25 Jul 2024 03:12:42 -0400 Subject: [PATCH] fix(curriculum): Number Sorter - Step 6 - improve description (#55649) Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> --- .../6406bb32f9ed593f26c33b2b.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-algorithmic-thinking-by-building-a-number-sorter/6406bb32f9ed593f26c33b2b.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-algorithmic-thinking-by-building-a-number-sorter/6406bb32f9ed593f26c33b2b.md index d55ad368d88..ead0ce212f6 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-algorithmic-thinking-by-building-a-number-sorter/6406bb32f9ed593f26c33b2b.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-algorithmic-thinking-by-building-a-number-sorter/6406bb32f9ed593f26c33b2b.md @@ -7,7 +7,7 @@ dashedName: step-6 # --description-- -Remember that `.getElementsByClassName()` returns an array-like object. You can use the spread operator to convert it into an array. +Remember that `.getElementsByClassName()` method returns an HTMLCollection, which is an array-like object of all the elements that have a matching class name. You can use the spread operator to convert it into an array. Convert the `document.getElementsByClassName()` call to an array with the spread operator and assign it to a variable called `inputValues`.