Like this:
a=4 b=2 c=8 ... ... h=6 i=3 ...
var palabra=prompt("di lo que quieras");
Input del usuario: "Hi!"
I do not know how to approach this:
var result= h+i??????
alert(result);
And depending on the string obtained, then add these values.