Skip to content

Easter egg2 min read

How do you show a message by day of the week in Webflow?

Learn how to display a different message based on the day of the week in Webflow with JavaScript.

In this tutorial, Sandro, co-founder of Gemeos Webflow agency, shows you how to display a different message depending on the day of the week in Webflow.

Example

Message based on the current day

Loading...

DayExample message
Monday'💪 The week is starting, let’s go!'
Friday'🎉 Happy Friday!'
Weekend'☀️ Enjoy your Saturday'

1. Add the ID to your text

On your Text Block: custom attribute id = day-message.

(function() {
  var messages = [
    '🌙 Enjoy your Sunday', '💪 The week is starting, let’s go!',
    '🚀 Happy Tuesday', '⚡ Midweek, keep going',
    '🙌 Almost the weekend!', '🎉 Happy Friday!', '☀️ Enjoy your Saturday'
  ];
  var el = document.getElementById('day-message');
  if (el) el.textContent = messages[new Date().getDay()];
})();

Conclusion

A small detail that shows your site is alive. Especially effective on SaaS homepages and portfolios.

Published on May 19, 2026

Sandro DA SILVA

Growth Marketer, Webflow expert, and jack-of-all-trades. Sandro handles commercial operations, ensures projects run smoothly, and addresses marketing-related issues (SEO, Tracking, Copywriting, etc).

You're going to working with us, guaranteed

Ready to launch your business?

get a quote

Let’s f*****G GO !!