DEV Community

Discussion on: Window illustration - CSS

Collapse
 
tannerdolby profile image
Tanner Dolby

Thank you Maroun!

Yeah I agree with you. Using document.querySelector() to select elements from the DOM is much better practice.