Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual for Sortable Lists (Pages Chapter) #92

Open
MayaGans opened this issue Aug 5, 2019 · 0 comments
Open

Visual for Sortable Lists (Pages Chapter) #92

MayaGans opened this issue Aug 5, 2019 · 0 comments
Assignees

Comments

@MayaGans
Copy link
Collaborator

MayaGans commented Aug 5, 2019

Create a visual to go along with

We process each list separately with lists.forEach. The callback function inside forEach uses Array.from to create an array containing the child nodes of the main list element, then filters that list to remove any that are text nodes.

@MayaGans MayaGans self-assigned this Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant