1. JavaScript Array Fundamentals
Arrays are ordered list collections indexed starting at position 0.
โHTML5 Web Code (index.html)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JS Array Methods</title>
</head>
<body style="background:#17181c; color:#fff; font-family:Arial; padding:30px;">
<h2>Tech Stack Array</h2>
<p id="array-output"></p>
<script>
const techStack = ["HTML5", "CSS3", "JavaScript"];
techStack.push("React");
techStack.push("Node.js");
document.getElementById("array-output").innerHTML =
"<strong>Items:</strong> " + techStack.join(" • ") + "<br>" +
"<strong>Total Technologies:</strong> " + techStack.length;
</script>
</body>
</html>
