is this code alright?
<script>
var b;
jsfunction(a)
var b = "yes";
</script>
<html>
<heading>
<p>
<b></b>
testing stuff
</p>
</heading>
<body>
<button onclick="jsfunction(a)">
hi this is a button
</button>
</body>
</html>
The testing stuff will not be bold as it is not in the tags. The js script is in the right tag, bu is not written properly, if you want to log the word yes every time the button is clicked you could do this (jsfunction could be anything).:
<script>
function jsfunction(a){
console.log("Yes");
}
</script>