Edit in JSFiddle

$("#hello").click(function() {
    alert('Hello, World.');
});
    
<button id="hello">hello</button>
#hello {
    background-color: #c00;
    color: #fff;
}