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.


You can leave a response, or trackback from your own site.

CLICK ORDER NOW TO GET A CUSTOMIZED PAPER ON THIS TOPIC JUST FOR YOU!! 0%PLAGIARISM 100% ORIGINAL PAPER

7 Responses to “Why wont this javascript code execute?”

  1. 501312 587108extremely nice post, i undoubtedly actually like this exceptional internet site, carry on it 990061

  2. 560465 196128Your writing is fine and gives food for thought. I hope that Ill have far more time to read your articles . Regards. I wish you which you regularly publish new texts and invite you to greet me 897894

  3. 717223 644034Hey there, I feel your blog may possibly be having browser compatibility issues. When I look at your web site in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, superb blog! 598477

  4. 641707 625805Aw, this became an extremely nice post. In thought I would like to devote writing such as this moreover – taking time and actual effort to make a really good article but exactly what do I say I procrastinate alot and by no means uncover a strategy to get something completed. 30439

  5. 937241 184149I ought to admit that this is one fantastic insight. It surely gives a company the opportunity to get in on the ground floor and really take part in creating something particular and tailored to their needs. 174085

  6. 766166 892191Thank you for your style connected with motive though this data is certain spot a new damper within the sale with tinfoil hats. 580020

  7. 191215 352600An fascinating discussion is worth comment. I think that you need to write much more on this matter, it could not be a taboo subject but generally individuals are not enough to speak on such topics. To the next. Cheers 246190

Leave a Reply

Powered by WordPress | Designed by: buy backlinks | Thanks to webdesign berlin, House Plans and voucher codes