here is HTML:
<div class="args-container">
<button type="button" id="nuclear">click to see nuclear</button>
<button type="button" id="geothermal">click to see geothermal</button>
</div>
here is javascript:
const args = Array.from(document.querySelector(".args-container").children);
args.forEach(e => e.addEventListener("click", myFunc()));
If i click on a button "myFunc()" isn't working