I\'m new with javascript, and I\'m having some trouble understanding why this code doesn\'t execute:
var weight; wight=parseInt(prompt(\"Please, enter weight\")
spelling of weight :
while (wight>0); while (weight>0);
also in
document.write("Tax will be" + wight*10); document.write("Tax will be" + weight*10);