figured out how to get charcodes of string
able to add id to span if charcode matches keycode