Im writing code for a zodaic sign calculator and im not sure what the problem is but the answer is not being calculated, dont know if its because the function is not being called? Any help would be great
Javascript
}
function Output() {
const year = document.getElementById("year").value;
if (year === "Make year 4 Digets and Positive!") {
CZ = "Fix Year";
}
document.getElementById("result").innerHTML = NewZodiac;
}
<h2> Step 4: Click the Button</h2>
<h2> Output</h2>
<h3> New Zodiac Sign:</h3>