2 ms·
Both className and htmlFor are native. https://developer.mozilla.org/en-US/docs/Web/API/Element/className https://developer.mozilla.org/en-US/docs/Web/API/Elem
by Kiro 3y ago
Both className and htmlFor are native.
https://developer.mozilla.org/en-US/docs/Web/API/Element/className https://developer.mozilla.org/en-US/docs/Web/API/Element/cla...
https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelEl...
- arcanemachiner 3y agoWoah.
- niutech 3y agoYes, but it's JS, it isn't vanilla HTML.