TIL that Emojis are in the web🥺💡
POSTED ON:
TAGS: webdev
✨✨✨
If a website is using <meta charset="UTF-8">
, then you can put emojis in your page.
This is Valid Code:
<p>🍔</p>
This is valid code:
map([🌽, 🐮, 🐔], cook)
=> [🍿, 🍔, 🍳]
filter([🍿, 🍔, 🍳], isVegetarian)
=> [🍿, 🍳]
reduce([🍿, 🍳], eat)
=> 💩
This is valid code:
h1::before {
content: "🍔";
}
Note: I don't know the unicode. I visit the Emojipedia and copy/paste it.
Related TILs
Tagged: webdev