R
Reactiflux

help-js

browinski – 12-52 Feb 27

Bbrowinski2/27/2023
Why adding a class like that gives word value in console? then If I do classList.remove it can't see that second class
SScriptyChris2/27/2023
classList returns a DOMTokenList, which contains value property, which represents what actual HTML element has on it's class attribute in the DOM https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList#instance_properties
If I do classList.remove it can't see that second class
Where do you want to see it?
UUUnknown User2/28/2023
Message Not Public
Sign In & Join Server To View

Looking for more? Join the community!