Why-wont-this-javascript-code-execute-Computer-Science-Assignment-Homework-Help

<!Doctype html> 

<html> 

<title>JavaScript Tutorial</title> 

<body> 

<script language = "javascript"> 

var cleanCities = ["Cheyenne ","Santa Fe ","Tucson ","Great Falls ","Honolulu"]; 

var cityToCheck = "Tucson"; 

if(cityToCheck === cleanCities[i]) 

alert("You are clean"); 

</script> 

</body> 

</html> 

it looks logically and syntactically correct so im not sure what im missing.


 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.