fix(curriculum): Number Sorter - Step 6 - improve description (#55649)

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
Carmen
2024-07-25 03:12:42 -04:00
committed by GitHub
parent 6497571fb8
commit 73f00af79e

View File

@@ -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 <dfn>HTMLCollection</dfn>, 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`.