Answers for "alert by code stackoverflow"

0

alert by code stackoverflow

<script language="javascript" type="text/javascript">
alert('This is what an alert message looks like.');
</script>

function showAlert() {
    var country = "Fiji";
    var city = "Suva";
    alert('The city of ' + city + ' is located in ' + country + '.');
}

<input type="button" value="Click Here" onClick="showAlert();">
Posted by: Guest on July-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language