Why use document.querySelector () to select elements on jsbin and the result is null

Feb.28,2021

is used in the wrong way. Your output is output through the F12 browser developer tool, while JSbin has its own place to write JavaScript and console console .

is equivalent to the console console you are using for the entire page, not your content in the JSbin tool code

pay attention to the row on the left of your screenshot, HTML , CSS , JavaScript , Console , Output , these are combined.


clipboard.png


~


jsbin

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3f395-64e32.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3f395-64e32.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?