CSS Styling:
<span style="color: blue;">Hello, World!</span>
JavaScript Function:
function showMessage(){
alert('Hello!');
}
I tried to implement a span element with blue text color. However, the function that was supposed to show an alert message is not working as expected.