xxxxxxxxxx
<iframe allowfullscreen="" frameborder="0" height="450" marginheight="0" marginwidth="0" scrolling="no" src="https://hxfile.co/embed-kfmv3owlu5x4.html" width="100% "></iframe>
xxxxxxxxxx
<button></button>
<!-- example -->
<button id="mybutton">A BUtton</button>
<!-- add CSS to align(etc.) and resize them -->
<style>
#mybutton {
margin-top: 50%;
margin-left: 50%;
width: 250px;
}
</style>
<!-- here, I centered my button -->
xxxxxxxxxx
<!-- To access the button in css, use a dot (.) and one of the words in "class". I like to define my buttons as "button" and then the specific number so i can customize all the buttons individually while still having a way to customize them all. The "onclick" is used to make functions for JavaScript so that something actually happens when you press the button. -->
<button class="button button1" id="button" onclick="buttonfunction();"> This is a button </button>
xxxxxxxxxx
<button type="button" id="myButton" class="btn btn-primary" disabled>Click Me</button>
<script>
document.getElementById("myButton").onclick = function() {
alert("Button Clicked!");
}
</script>
xxxxxxxxxx
<!DOCTYPE html>
<script>
function log() {
console.log("Hello World!")
}
</script>
<html>
<button onclick="log()">Button</button>
</html>