DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js add class to html
const root = document.getElementsByTagName('html')[0] root.classList.add('hide-scrollbar')
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#js
#add
#class
#html
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit