Question: how html call javascript function?
Answer: <!-- Answer to: "call javascript function from html" -->
​
<!-- Just call it from a <script> tag: -->
​
<!--
JavaScript:
function heyFunc(a) {
console. log(`Hello ${a}!`);