1. What is JavaScript?
JavaScript is a high-level, interpreted programming language used to create dynamic and interactive web pages. It works together with HTML (structure) and CSS (style).
4. JavaScript Example: Hello World
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<h2>JavaScript Demo</h2>
<script>
console.log("Hello, World!");
alert("Welcome to JavaScript!");
</script>
</body>
</html>