In Denmark, where I live, we unfortunately hold a record within Europe: our kids are the heaviest drinkers of alcohol on the continent. Because of this, there’s a strong focus on reducing youth alcohol consumption and educating kids about the effects of alcohol.
I put together an alcohol calculator in HTML and JavaScript for our local school to show students how alcohol affects the body and how blood alcohol content (BAC) is calculated.
To estimate BAC or "promille," you need a few key pieces of information:
Different drinks contribute different amounts of alcohol to your bloodstream, depending on their volume and alcohol concentration. To standardize this, the unit of alcohol calculation is typically done as follows:
volume (cl) * alcohol percentage * 0.8 / 120
The entire "app" is structured as a
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3