Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Need-help-with-computer-science-Why-wont-this-javascript-code-execute-

<!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.


 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"