Hmm that is the topic of this whole blog really...
You can use unicode in code, html, css, javascript 1 etc... just redoing some of my website and replaced any mention of "stars" and "star" (star ratings like I mentioned earlier) with a ★ symbol and it all works just fine... valuable saving of characters and the code all still makes sense semantically. Sort of.
.★ {
width: 200px;
position: relative;
}
.★ a {
display: block;
}Means you can safely use Greek letters as var names:
const π = 3.14A bit pointless but fun.
💬 test
⬅️ Twenty years ago today I was at a David Devant gig :: test ➡️
Paulʼs blog - I live in A sleepy town in the deep South. Wednesday + father to two, I am a full-stack web developr, and I do js / node, some ruby, other languages ect ect. I like pubbing, parkrun, restaurants, home automation 🤖 + other diy jiggery-pokery, history, tree stuff, TV, squirrels, pirates ☠️, lego, and TIME TRAVEL.