Blog2017 ≫ Boring for you but amusing to me

Hmm that is the topic of this whole blog really...

You can use unicode in code, html, css, javascript 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.14

A bit pointless but fun.

js: Programming language of the web, mostly how I make my living.

💬 test

⬅️ :: ➡️

Paul Clarke's weblog - I live in A small town. Married + dad to 2, I am a full stack web developr, and I do mostly js / Node, some ruby, other languages etc. I like pubbing, parkrun, eating, home-automation and other diy jiggery-pokery, history, genealogy, Television, squirrels, pirates, lego, and TIME TRAVEL.