I have to print out the letters from A to Z each for itself. So I tried the following:
for(var i = 65; i < 91; i++) {
$('#alphabet').append('<div class="letter">' + '%' + i + '</div>');
}
My idea is to use the decimal numbers of the letters (for example: 65 - A) to easily print them via loop. Is this possible or do I have to use an array?
Best regards.
Inserting Unicode characters To insert a Unicode character, type the character code, press ALT, and then press X. For example, to type a dollar symbol ($), type 0024, press ALT, and then press X.
Unicode Character “9” (U+0039)
Unicode code converter. Type or paste text in the green box and click on the Convert button above it. Alternative representations will appear in all the other boxes. You can also do the same in any grey box, if you want to target only certain types of escaped text.
You can use String.fromCharCode to convert a character code to string.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With