This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

JavaScript String

The charCodeAt() Method

The charCodeAt() method returns the unicode of the character at a given position in a string:

let text = "HELLO WORLD";
document.getElementById("demo").innerHTML = text.charCodeAt(0);

The unicode for "H" is 72.