JavaScript is a versatile programming language that allows you to add interactivity, control multimedia, and dynamically update content on web pages. It works alongside HTML and CSS to make websites come alive.
Example
<script>
alert("Hello, World!");
</script>
When you load a web page with this code, it will display an alert box saying "Hello, World!"