Message from JavaScript discussions

May 2019

— 😍 All the Admins here with what you guys are doing all cool

— 

Please can someone help me with how to use the Javascript
Graph() object to draw graph on html5 canvas

— QuerySelector('form')

— Not ('#form')

— This selects the first form on the website. if there are multiple forms, this is probably not what you want.

Message permanent page

— Depends

— Except, it you select of another parent, that this might work as expected

— E.g. document.querySelector('#sign-in').querySelector('form')

— I find another solution and got the answer

— These can be merged:
document.querySelector('#sign-in form')

— Or > for direct child

— Use the "getElementById" method for id selectors