Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

chronikum chronikum

🎯
Focusing
View GitHub Profile
View randomEmoji.html
<span id="umwelt_smiley"> </span> <!-- put wherever you want -->
<script>
function random_smiley()
{
let set = ["💚","🐣","🌱","🌿","🌳","🌻","🌞","☀","🥦","🌏","🌍","🌈"]
let smiley = set[Math.floor(Math.random()*set.length)];
document.getElementById("umwelt_smiley").innerHTML = smiley;
}
You can’t perform that action at this time.