<html>
<head>
<title>JavaScript Null and Undefined</title>
</head>
<body>
<p id="status">Status: Not Defined</p>
<button onclick="updateStatus()">Update Status</button>
<script>
let status = null;
function updateStatus() {
if (status === null) {
status = "Active";
} else {
status = null;
}
document.getElementById("status").textContent = "Status: " + (status || "Not Defined");
}
</script>
</body>
</html>