DevvitIO / DevvitIO/Multiplayer-Hangman

Update document.querySelectorAll element selectors

Open
#50 5 comments 0 reactions 0 assignees View on GitHub
hacktoberfest
Dominant language
HTML
Stars
12
Forks
18
PR merge metrics
No merged PRs in 30d

Description

At the moment I've changed a good portion of the getElementByID to querySelectorAll()[0]. This is essentially the same thing, but any DOM actions we take on these should be applied to all elements ( i.e we remove the [0] ).

i.e we should be able to create two objects with a data-online-players attribute and they both display players without any extra finangling

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.