I tried to use an event listener with HTML:
<div style="width: 200px;height: 200px" id="outerDiv" onClick="alert(1)">
<div id="innerDiv" style="width: 200px;height: 200px">no click</div>
</div>
How do I make it so that clicking in a div (id=innerDiv) doesn't alert 1? I want it so that clicking only the outer div gives an alert.