+ 3
Emoji doesn't loading right
In the code below I try to change the content of a div. I created an array with emojis and choose one. The div changed but it's not the right emoji. https://code.sololearn.com/WE4nnqv3xwaM/?ref=app
4 Answers
+ 5
Try
const EMOJIS = "đ đ đ âșïž".split(" ")
I would assume that splitting at "" messes the emoji character codes.
+ 5
Stefanoo
This works too
https://code.sololearn.com/WpZ3unPc18za/?ref=app
+ 2
Ah okey thanks đ
It works.
+ 1
It works perfectly fine
Cool