DEV Community

Discussion on: JavaScript Rendered Hello World

Collapse
yoursunny profile image
Junxiao Shi

The xo linter says you are supposed to use querySelector than getElementById.