Even if the age verification could be made to work - this is the wrong approach.
If you are a company that markets to kids; Facebook/Youtube/tik-tok you will lobby and work around it.
If you aren't then its safer to just ban under18s. Why would Nadella risk fines + jail time because some Mary Whitehouse type finds rude words on a github comment. Safer just to ban kids from github, Same for el'reg, or stackoverflow or any other professional tech site.
They can learn all this computer stuff once they turn turn 18 and enter the workforce