javascript smelltu ef
<button onclick="myFunction()">Click me</button>
<p id="demo"></p>
<script>
function myFunction() {
document.getElementById("demo").innerHTML = "Hello World";
}
</script>
onclick html að hlaupa annars html onclikc
man its not that i wanted answer thougt :D