This is my page for different versions of '99 Bottles of Beer' in different languages. Please choose a language below (in order of when I added them).
This is my code to show all verses from '99 Bottles of Beer' in JavaScript.
var count; count = 99; while (count >= 1) { document.write(count+" bottle"); if (count != 1) document.write("s"); document.write(" of beer on the wall, "+count+" bottle"); if (count != 1) document.write("s"); document.write(" of beer.<br>Take one down and pass it around, "); count -= 1; if (count != 0) { document.write(count+" bottle"); if (count != 1) document.write("s"); document.write(" of beer on the wall."); } else document.write("no more bottles of beer on the wall."); document.write("<br><br>"); } document.write("No more bottles of beer on the wall, no more bottles of beer.<br>"); document.write("Go to the store and buy some more, 99 bottles of beer on the wall.");