Hi, Javascript is case sensitive. I've fixed your code, check it now.
var Hardware = prompt("What are the physical components of the computer, such as the moniter and system unit, called?");
alert(Hardware);
if (Hardware.toLowerCase() == "hardware") {
var number = 1;
} else { alert("You have failed the test. Please refresh."); }
if (number == 1) {
alert ("Hello I love to be 1")
}
Happy Coding!