Fonctions du bouton HTML
<script>
function myFunction() {
alert("ALERT");
}
</script>
<button onclick="myFunction">Click</button>
Lava
<script>
function myFunction() {
alert("ALERT");
}
</script>
<button onclick="myFunction">Click</button>
<script>
function myFunction() {
alert("ALERT");
}
</script>
<button onclick="myFunction()">Click</button>