What is javascript and it's example?
Describe introduction of Javascript.
Introduction of Javascript
JavaScript is a programming language that is commonly used to add interactivity to web pages. It is typically used in conjunction with HTML and CSS to create dynamic and interactive web applications.
Example:
Here a given a example of JavaScript program that displays an alert message when a button on a web page is clicked:
<button onclick="show()">
Click me</button>
<script>
function show() {
alert("Hello, World!");
}
</script>
Comments
Post a Comment