Take a breath. Here is a little encouragement for today.
Joy
May something small make you smile today.
(function () {
const blessings = [
[“Joy”, “May something small make you smile today.”],
[“Peace”, “May you find a quiet moment in a busy day.”],
[“Hope”, “A new beginning can start with one small step.”],
[“Courage”, “You have what you need to take the next step.”],
[“Kindness”, “The care you share can brighten someone’s day.”],
[“Gratitude”, “May today give you something lovely to appreciate.”],
[“Calm”, “Take a breath and make room for a gentler moment.”],
[“Light”, “May a little light find its way into your day.”],
[“Strength”, “Keep going at your own pace.”],
[“Wonder”, “May you notice something beautiful along the way.”],
[“Warmth”, “May you feel welcomed, valued, and at ease.”],
[“Growth”, “Every small step forward deserves to be celebrated.”]
];
function start() {
const word = document.getElementById(“bee-word”);
const message = document.getElementById(“bee-message”);
const button = document.getElementById(“bee-again”);
if (!word || !message || !button) return;
let previous = -1;
function show() {
let next = Math.floor(Math.random() * blessings.length);
if (next === previous) next = (next + 1) % blessings.length;
previous = next;
word.textContent = blessings[next][0];
message.textContent = blessings[next][1];
}
button.addEventListener(“click”, show);
show();
}
if (document.readyState === “loading”) {
document.addEventListener(“DOMContentLoaded”, start);
} else {
start();
}
})();
Leave a Reply