โ Back to HTML DOM
Question 70
Hide an Element
Hide an Element
A div with id="box" is visible. Hide it by setting its CSS display style to 'none'.
Expected Output:
The #box element has style display: none
Topics:
HTML DOM
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.